| All times are GMT - 8 Hours |
| #1: |
| Code: |
| launch SuperApp
verify SAMainScreen login joeuser secretPassword verify loginSucceeded logout |
| Code: |
| to executeKeywords sourceText
-- get the list of valid keywords and display it set validCommands to the short name of \ each item of the files of my folder \ where each ends with ".script" and each is not my name put validCommands, "- - -" -- process all of the source keywords and parameters repeat with each line sourceLine of sourceText put sourceLine split by comma into (command, paramList...) if command is not in validCommands then logError "Invalid Keyword: " & command else try -- run the command; pass paramList as individual params run command paramList as parameters catch logError "Error running " & command && paramList \ & ": " & the exception end try end if end repeat end executeKeywords |
| KeywordDriven.suite.zip | |||
| Description: |
|
Download |
|
| Filename: | KeywordDriven.suite.zip | ||
| Filesize: | 27.79 KB | ||
| Downloaded: | 1164 Time(s) | ||
| #2: |
| #3: |
| #4: |
| #5: |
| #6: |
| Quote: |
| hi can u please give me code, on a product should install on different os(XP,Vista,Mac,Win7), please provide me script how to automate[/b] |
| #7: |
| Code: |
| executeKeywords "smokeTest.csv" |
| #8: |
| Code: |
| put file "/keywordScripts/smokeTest.csv" into blabla
executeKeywords blabla |
Output generated using Printer-Friendly Topic Mod.