-
Explain Get Text checkpoint from screen area with syntax?
We use win_get_text (window, out_text [, x1, y1, x2, y2]) function to get the text from a window.
-
What are the three modes of running the scripts?
WinRunner provides three modes in which to run tests—Verify, Debug, and Update. You use each mode during a different phase of the testing process. i. Verify 1. Use the Verify mode to check your application. ii. Debug 1. Use the Debug mode to help you identify bugs in a test script. iii. Update 1. Use the Update mode to update the expected results of a test or to create a new expected...
-
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...
-
Which TSL function you will use to compare two files?
We can compare 2 files in WinRunner using the file_compare function. Syntax: file_compare (file1, file2 [, save file]);
-
How do you declare arrays?
The following syntax is used to define the class and the initial expression of an array. Array size need not be defined in TSL. b. class array_name [ ] [=init_expression] c. The array class may be any of the classes used for variable declarations (auto, static, public, extern).
-
Why you use reload function?
If you make changes in a module, you should reload it. The reload function removes a loaded module from memory and reloads it (combining the functions of unload and load). The syntax of the reload function is: reload ( module_name [ ,1|0 ] [ ,1|0 ] ); The module_name is the name of an existing compiled module.Two additional optional parameters indicate the type of module. The first parameter...
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Winrunner Interview Questions
Ans