Rational Robot.... снова о нем
#1
Отправлено 30 августа 2006 - 11:43
А если есть возможность запустить тест через IE и вы об этом знаете, и расскажете, то цены вам не будет.... заранее благодарствую.
#2
Отправлено 31 августа 2006 - 09:33
2. Пишем на роботе скрипты.
3. Оформляем вызов робота в батнике.
4. Потом делаем так, хотя, я думаю, Вы это знаете.
5. Если нужно вызвать скрипты через web-сервер, то действуем аналогичным образом.
6. Находим решение необходимых задач и "цены нам не будет".
#3 Гость_drcoor_*
Отправлено 31 августа 2006 - 15:13
Открываем Хелп
Набираем в предметном указателе "command-line options"
Обалдеваем...
Повторять при каждой проблеме не менее 1 раза
#4
Отправлено 13 октября 2006 - 13:34
есть скрипт называется script-test1
как написать в батнике чтоб запускался именно этот скрипт для выполнения.
ps:
"command-line options" в предметном указателе не дал представления.
#5
Отправлено 13 октября 2006 - 18:00
Странно, на мой взгляд всё ясно"command-line options" в предметном указателе не дал представления.
Rational Robot Command-line Options You can use the Rational Robot command-line options to log in, open a script, and play back the script. SYNTAX rtrobo.exe [scriptname] [/user userid] [/password password] [/project full path and full projectname] [/play] [/purify] [/quantify] [/coverage][/build build] [/logfolder foldername] [/log logname] [/nolog] [/close] Syntax Element Description rtrobo.exe Rational Robot executable file. Name of the script to run. /user User name for login. /password Optional password for login. Do not use this parameter if there is no password. /project Name of the project that contains the script referenced in preceded by its full path. /play If this keyword is specified, plays the script referenced in . If not specified, the script opens in the editor. /purify Used with /play. Plays back the script referenced in under Rational Purify. /quantify Used with /play. Plays back the script referenced in under Rational Quantify. /coverage Used with /play. Plays back the script referenced in under Rational PureCoverage. /build Name of the build associated with the script. /logfolder The name of the log folder where the test log is located. The log folder is associated with the build. /log The name of the log /nolog Does not log any output while playing back the script. /close Closes Robot after playing back the script. COMMENTS Use a space between each keyword and between each variable. If a variable contains spaces, enclose the variable in quotation marks. Specifying log information on the command line overrides log data specified in the Log tab of the GUI Playback Options dialog box. If you intend to run Robot unattended in batch mode, be sure to specify the following options to get past the Rational Test Login dialog box: /user /password /project Also, when running Robot unattended in batch mode, you should specify the following options: /log /build /logfolder EXAMPLE rtrobo.exe VBMenus /user admin /project “C:\Sample Files\Projects\Default.rsp” /play /build “Build 1” /logfolder Default /log MyLog /close In this example, the user opens the script , which is in the project file located in the directory . The script is opened for playback, and then it is closed when playback ends. The results are recorded in the log located in the directory.
#6
Отправлено 17 октября 2006 - 10:04
зы: Пароля на проекте нет !
#7
Отправлено 17 октября 2006 - 11:14
#8
Отправлено 18 октября 2006 - 08:44
Сенькс .....возможно поможет запуск проекта посредством Rational TestManager, там есть возможность повторения скрипта по расписанию, TestManager не закрывать
Кстати теперь батник заработал , причину почему незапускался понять так и не смог. Все написал один в один как в хелпе в новом батнике. Новый запускает скрипт и все работает , а старый нет.
Количество пользователей, читающих эту тему: 1
0 пользователей, 1 гостей, 0 анонимных