How to stop the test case which is running through the script in winrunner?
Enable a gui object using winrunner
How can we enable a gui object using winrunner?
We cannot enable object using Winrunner but while scripting we can check if object is enabled or not if not we can perform some action on GUI which enable the object.For eg in flight reservation appli...
New patches for IE 6.0 will not affect the Winrunner. Waht you need to do. Enable the web adins once again while loading the Winrunner Tool. you will not get html issues again.
Make sure web addins are checked.
What is the use of virtual object wizard in winrunner?
Application may contain objects that behave like standard objects butare not recognized by QuickTest. You can define these objects as virtualobjects and map them to standard classes, such as a button ...
hi,Some time application has some features and the operations performed on those features will not be scripted appropriately.Inother words these features r not recognised by WR as OBJECTS since they r...
How to edit XML file using winrunner?
Exception Handling comes under Recovery Scenario. It is of 2 types1) Simple (POPUP, TSL EVENT, OBJECT STATE)2) Compound (APPLICATION CRASH) POPUP: Unexpected windows (error windows) gets opened durin...
EH is used to avoid the unwanted events or errors which occur during execution, because it will interrupts the execution. The basic objective of EH is to resume the execution smoothly and succes...
How to create a dsn in winrunner 8.2
What is a cvr file in winrunner?
How can we print a value on screen through winrunner?
Use the pause function for this.
syntax
pause(Variable);
How will you set a value of a textbox in QTP/winrunner?
Set value of a Textbox in Winrunner.
You can do this by different ways, depends on what type of Textbox it is:
edit_set(edit,text); #if it is of class edit
obj_type(obj,keyboard_input); #if it is of class object
win_type(win,Keyboard_input);#if it is of class window
Regards,
-AK
Button pressed using winrunner
I want to know whether a button is pressed by the user or not. I want to use this in an if statement. Does any1 know about this? Please help
Checking button wether it was pressed or not depends on behavior of button when pressed, its correct we can not always check the state of button, but if button is changing its state from enabled to di...
I think the answer mentioned above is wrong.
As above script checks whether the button is enbled or disabled and not the button is pressed or not.
As pressing button does not necesarily disbled it.
What is add watch in win runner?
Add watch is used to include variables, expressions and arrays to the watch list.
In Watch list you can monitor the values of variables,expressions and arrays.
This is useful when you are debugging the scripts as you can see the current values of the variables, expressions or arrays.
Regards,
-AK
How can I parameterize ms access table in win runner?
How to open excel file in winrunner?
table = "<Give the path of the excel file where it is located in your system>"; rc = # This function opens your excel sheet in readmode.if (rc!= E_OK && rc != E_FILE_OPEN) # Th...
We can use the TSL ie. ddt_open(table_name, open_mode) to open any excel file.
Ex.
invoke_application("C:\Documents and Settings\All Users\Start Menu\Programs\Microsoft Excel","","",SW_SHOW);
ddt_open("D:\Suma\Book1", DDT_MODE_READ);
How to configure the email setting in winrunner
How to configure the email setting in winrunner --tools-general option.I have supplied all the relevant data in email settings. Mail server name,username & password and senders email address, recipients email address. But after completing the run its failed to send email to the recipients.Requirement:after...
Hi,
Make sure that the following settings are done properly.
1)Goto Tools> General Options > Notifications and select the check box for Sending notifications.
2) Add Sender and receiver mail ids and click Apply and OK Buttons.
Please let me know your comments.
Thanks,
Dhana
How to record disable text box value in winrunner 8.2
I think exact recording of disabled is not posibled.
But you can stor its value in a variable using edit_get_text ot obj_get_info function.
How to get a column count in winrunner for the excel sheet?
To get column count in winrunner we can useddt_get_parameters ( table, params_list, params_num ) command.where params_list is the list of columns in tableand params_num is the number of columns in the table.
Sorry Yaar,
I did a mistake...i thought its for RowCount.
Anyway i will try......
In winrunner what should be the class name when we declare an array in a function?
Class of array can be static,public,auto or extern.
static always
How do you call dll file from winrunner?
We can call external function in winrunner using load_dll comand.
syntax : load_dll(pathname for dll)
We need to declare the function in dll as extern first befor using it in to the module.
Why does my web app close when I hit the record button in winrunner?
winrunner will execute only your commands and nothing more than that. So if it is closing IE then you shold have given
win_close ( window );
window The logical name or description of the window.
The win_close function closes the specified window.
How about when you want that to put on your script...so that before you run again your scripts you are sure that all the variables are cleaned.
by using the soft key ctrl+F3