-
-
-
How do you check thecurrent item value in the list after I open a web page with this list in WinRunner ?
list_get_selected ( list, out_item, out_num );will solve the problem that I have.It will return an item (out_item) and the postion(out_num ) that is currently shown on the list.To check the with the previous values I can store theprevious values in file and then read it from the filelater to compare it from current value.
-
-
-
-
-
-
-
-
-
-
-
-
Write and explain various loop command?
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, expression1 is executed. Next, expression2 is evaluated. If expression2 is true, statement is executed and expression3 is executed. The cycle is repeated as long as expression2 remains true. If...
-
When it is appropriate to change physical description?
Changing the physical description is necessary when the property value of an object changes.
-
When do you feel you need to modify the logical name?
Changing the logical name of an object is useful when the assigned logical name is not sufficiently descriptive or is too long.
-
What is the purpose of regexp_label property and regexp_MSW_class property?
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 a regular expression into an object’s MSW_class. It is obligatory for all types of windows and for the object class object.
-
What do you verify with the database checkpoint default and what command it generates, explain syntax?
By adding runtime database record checkpoints you can compare the information in your application during a test run with the corresponding record in your database. By adding standard database checkpoints to your test scripts, you can check the contents of databases in different versions of your application. b. When you create database checkpoints, you define a query on your database, and your...
-
Explain Get Text checkpoint from selection (web only) with syntax?
Returns a text string from an object. web_obj_get_text (object, table_row, table_column, out_text [, text_before, text_after, index]); i. object The logical name of the object. ii. table_row If the object is a table, it specifies the location of the row within a table. The string is preceded by the # character. iii. table_column If the object is a table, it specifies the location of the column...
Winrunner Interview Questions
Ans