![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| Hi, I want to use this tool for regression testing of both VB.NET and web based applications. On the web page, how do I determine if an error occurs. I was expecting to search the page for an error message (identified inside a <font..> element). Can I search the page for a string? In addition, is the only way to record the success / failure of a test to write a status message into an external file? Can you point me to examples of using this tool for regression testing? thanks, clay |
| |||
| Hello, For regression testing, you can refer to our online samples at http://www.tethyssolutions.com/autom...es.htm#testing Hope that helps! |
| |||
| I had already studied the examples. One of the web sites I have to test has some javascript that will change the 'hidden' values in a message and display it in red on the screen if the data does not match. Other validation software will insert an error message inside a <div> with a class defined as 'error'. How can I detect that these events occurred with your tools? Can I read a web page and detect some text NOT in a control? I understand how to output the error messages. thanks, clay |
| |||
| Hello, What we understand is, you want to check if particular keyword to search is located on the web page or not. Am I right? In that case what you can do is first copy the entire data of page using Ctrl+a and Ctrl+c keystrokes and using If command check if clipboard does not include that particular word then perform desired actions. The sample text format of your command will look something like this: 1) Keystrokes: [CTRL DOWN]a[CTRL UP] in webpage 'Webpage Title' 2) Keystrokes: [CTRL DOWN]c[CTRL UP] in webpage ''Webpage Title' 3) Delay: 300ms 4) If $Clipboard$ Does not Include "SearchText" Then //Perform required actions 5) End If Moreover, you can also search for particular text on webpage using Ctrl+f. If text not found, it will display the message window for the same. You can check if that message window exists i.e. if text not found, then perform required actions. The sample text format of your command will look something like this: 1) Keystrokes: [CTRL DOWN]f[CTRL UP] in "Webpage Title" 2) Keystrokes: SearchText[ENTER] in "Find" 3) If Window Exists("Microsoft Internet Explorer") Then // check for Message Window //Perform required actions 4) End If Alternatively, try using latest version of Automation Anywhere that provides you with ‘If Web Control’ command. You can use this command if you want to check if a particular web control exists on a web page for e.g. a link or a textbox or a dropdown etc. This command has two options, Web Control Exist and Web Control Does not Exist. You just have to enter the URL of webpage and need to capture that particular web control. The sample text format of your command will look something like this: 1) If Web Control Does Not Exist(CapturedWebControl: 'remember', Selected) in the webpage 'http://www….' Then // Perform required actions 2) End If We are sending the link to download the pre-release version of Automation Anywhere 4.0. http://www.tethyssolutions.com/Downl...up400-Beta.exe We would really appreciate if you can use the pre-release version and provide us with your valuable feedback / suggestions. Hope that helps. |