![]() |
| Home | Tech FAQ | Interview Questions | Placement Papers | Tech Articles | Learn | Freelance Projects | Online Testing | Geeks Talk | Job Postings | Knowledge Base | Site Search | Add/Ask Question |
![]() Related Questions We can handle varying window labels using regular expressions. WinRunner uses two “hidden” properties in order to use regular expression in an object’s physical description. These Latest Answer : Latest Winrunner 9.2 is out recently in market. But most of features are same like WR 8.2 WR 9.2 supports IE 7.0, etc.Arul,Bangalore. ... The regexp_label property is used for windows only. It operates “behind the scenes” to insert a regular expression into a window’s label description.The regexp_MSW_class property inserts We can suppress the regular expression of a window by replacing the regexp_label property with label property. Latest Answer : Win runner is having two hiddeen reguler expression 1)regexp_lable it uses for window lable only2)regexp_MSW_class it uses for both wiondow and object ... Searching text on the window i. find_text ( string, out_coord_array, search_area [, string_def ] ); string The string that is searched for. The string must be complete, contain no spaces, and it must A for loop instructs WinRunner to execute one or more statements a specified number of times. It has the following syntax: for ( [ expression1 ]; [ expression2 ]; [ expression3 ] ) statement i. First, Latest Answer : _select_item ("File;Open Order..."); set_window ("Open Order"); button_press ("Cancel"); i++; } ... You can incorporate decision-making into your test scripts using if/else or switch statements. i. An if/else statement executes a statement if a condition is true; otherwise, it executes another statement. A switch statement enables WinRunner to make a decision based on an expression that can have more than two values. It has the following syntax: switch (expression ) { case case_1: statements case The treturn and texit statements are used to stop execution of called tests. i. The treturn statement stops the current test and returns control to the calling test. ii. The texit statement stops This statement passes control back to the calling function or test. It also returns the value of the evaluated expression to the calling function or test. If no expression is assigned to the return The const specifier indicates that the declared value cannot be modified. The class of a constant may be either public or static. If no class is explicitly declared, the constant is assigned the default
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||