What type of variables can be used with in the tsl function???
Plz let me know
If there is regression testing or new release is on the way then it is better to go for Automation. Before you make your test scripts automated you need to have automation tool handy, need previous te...
If there are thousands of scripts and a CR forces all the scripts to modify accordingly, it's always better to create the GUI files again and rerecord the scenarios, where the CRs affects.
How do you update your expected results?
By the help of updating mood
by executing the test in update mode
When a tester has completed the testing of a project and the AUT has been moved to production environment and been accepted by the stakeholders then the tester is released or signed of from the project
How to test the stored procedure???
You first unit-test each procedure by feeding it appropriate test data, observing the outcome, and retesting as needed to make sure the bug fixes contain no new errors. Unit-testing a stored procedure...
How do you execute your tests from windows run command?
u can execute ur test in c compiler with window run command.as tsl is c based language
There is no Wizard to remove DDT, you need to remove manually the following statements
ddt_open, ddt_get_row_count, ddt_set_row, ddt_val, ddt_close
What tsl function you will use to pause your script?
we can also pause the script using pause() command.
wait(time) ----- wait until the given time
The Template test provides a basic framework of an automated test that navigates through your application. It opens and closes each window, leaving space for you to add code (through recording or prog...
Why choose winrunner , being it is costly tool ?
see again it depends on the choice of the end user. If the user feels that the AUT is extensive and could really benefit from using WR and if there are plenty of Versions/Data Driven Test/Regression cycles etc and it could be done with minimal user interaction through WR ,they can go for it..
What is the command in winrunner to get dos prompt?
The dos_system function executes a DOS system command from within a WinRunner test script.
dos_system ( expression );
Example
dos_system("echo dos_system demo > c:demo.tmp"); - writes a line to the file .
How do you run your script with multiple sets of expected results?
this is only one answer
i.e. through DDT
How do you call a function from external libraries (dll).
if u want call dll file through Winrunner, u should use api controls. it is a special functions
How do you store and view batch test results?
To store Batch test result When you run a regular, interactive test, results are stored in a subfolder under the test. The same is true when a test is called by a batch test. WinRunner save...
How do you view and evaluate test results for various check points?
Once the script is executed which has multiple checkpoints, the test results window shows a detailed information of whether the chekpoint passed or failed.As we know, checkpoints compare the expected results with the actual results, we can evaluate the result.
How do you declare external functions in tsl?
External functions are declared using the "extern" declaration that references an external function.
The syntax is:
extern
type--> refers to the return type of the function.
How do you load and unload external libraries?
load_dll(path name);
unload_dll(path name);
What is the purpose of wdiff utility?
WDiff v1.49 utility that displays differences between text files in directories (folders) or zip archives.
Used for comparing text files
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...
_select_item ("File;Open Order...");
set_window ("Open Order");
button_press ("Cancel");
i++;
}
tiger Wrote: auto , static public,extern variables.auto: An auto variable can be declared only within a function and is local to thatfunction. It exists only for as long as the function is runnin...
there are 4 types of variables are used in Win Runner. 1.public2.extern3.static4.auto