GeekInterview.com
Series: Subject:

WinRunner FAQ

Showing Questions 1 - 20 of 148 Questions
First | Prev | | Next | Last Page
Sort by: 
 | 

How to stop the test case which is running through the script in winrunner?

Asked By: Ashutosh | Asked On: Feb 19th, 2007

Answered by: jHen Durano on: Jul 20th, 2011

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.

Answered by: g.kumar on: Mar 5th, 2007

by using the soft key ctrl+F3

Enable a gui object using winrunner

Asked By: saralee | Asked On: Mar 11th, 2008

How can we enable a gui object using winrunner?

Answered by: sampada.ab on: Nov 4th, 2009

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...

Does anyone know if the new patches for ie 6.0 will affect the winrunner 7.5? It no longer seems to be recognizing my HTML_objects.

Asked By: n | Asked On: Jul 18th, 2006

Answered by: mathan_vel on: Sep 25th, 2009

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.

Answered by: Sujatars on: Aug 6th, 2007

Make sure web addins are checked.

What is the use of virtual object wizard in winrunner?

Asked By: pooja | Asked On: Oct 29th, 2006

Answered by: mathan_vel on: Sep 14th, 2009

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 ...

Answered by: raghavendra on: Jan 22nd, 2007

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...

Edit XML file

Asked By: Nasrin_CB | Asked On: Apr 9th, 2009

How to edit XML file using winrunner?

Anybody can explain about exception handling in winrunner? What are the exception handler functions in winrunner with example?

Asked By: Naladala | Asked On: Feb 1st, 2007

Answered by: arun_hitz on: Feb 6th, 2009

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...

Answered by: Priya on: Feb 20th, 2007

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...

Create dsn in winrunner 8.2

Asked By: mayoo.v | Asked On: Jan 5th, 2009

How to create a dsn in winrunner 8.2

Cvr file in winrunner

Asked By: purinaauto | Asked On: Oct 6th, 2008

What is a cvr file in winrunner?

Print a value on screen

Asked By: Param v Deshwal | Asked On: Jul 7th, 2008

How can we print a value on screen through winrunner?

Answered by: beemorgan on: Sep 25th, 2008

Use the pause function for this.
syntax
pause(Variable);

Set value of a textbox

Asked By: winowiak | Asked On: Aug 7th, 2008

How will you set a value of a textbox in QTP/winrunner?

Answered by: a_katiyar on: Sep 2nd, 2008

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

Asked By: agarwalankur | Asked On: Jan 6th, 2008

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

Answered by: a_katiyar on: Aug 28th, 2008

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...

Answered by: deshmukhsarang2003 on: Apr 11th, 2008

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.

Add watch

Asked By: Nagaraju T | Asked On: Jun 21st, 2008

What is add watch in win runner?

Answered by: a_katiyar on: Aug 28th, 2008

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

Parameterize ms access table

Asked By: purli | Asked On: Jul 28th, 2008

How can I parameterize ms access table in win runner?

How to open excel file in winrunner?

Asked By: sanjeevtesting | Asked On: Oct 24th, 2007

Answered by: ramaraju.poranki on: Jul 17th, 2008

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...

Answered by: Suma on: Oct 31st, 2007

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

Asked By: Uma | Asked On: Nov 2nd, 2007

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...

Answered by: dhanaprabhu on: May 19th, 2008

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

Asked By: Deepak | Asked On: Jan 16th, 2007

Answered by: deshmukhsarang2003 on: Apr 11th, 2008

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?

Asked By: varun | Asked On: Nov 11th, 2007

Answered by: deshmukhsarang2003 on: Apr 11th, 2008

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.

Answered by: kamakhi.panda on: Dec 21st, 2007

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?

Asked By: chaitu.kammili | Asked On: Aug 7th, 2007

Answered by: deshmukhsarang2003 on: Apr 10th, 2008

Class of array can be static,public,auto or extern.

Answered by: sushma_srikrishna on: Jan 28th, 2008

static always

How do you call dll file from winrunner?

Asked By: dd | Asked On: Nov 5th, 2007

Answered by: deshmukhsarang2003 on: Apr 10th, 2008

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?

Asked By: BobMende | Asked On: Sep 11th, 2007

Answered by: vinhaam on: Mar 11th, 2008

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.

First | Prev | | Next | Last Page

 

 

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Ads

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.