What is a command to invoke application?
Invoke_application is the function used to invoke an application. Syntax: invoke_application(file, command_option, working_dir, show);
What is exception handling in winrunner
Handling unexpected errors during run time means Excepting Handling....In winrunner it is explained as Recovery Scenario... there are 3 types of recovery scenario.1. pop_up event : it used when unexpe...
Exception handling can be done by following 4 type of function:* Web_exception_handler_dialog_click_default activates the default button.*Web_exception_handler_fail_retry activates the default bu...
Provide tsl statement which specifies keyboard input...?
Please explain winrunner architecture.Winrunner is a "record and play" tool.Winrunner process is a six step process.What is exception handling in winrunner?Provide tsl statement which specifies keyboard input
Functions which can be used to specify keyboard inputs : type (keyboard_input); #sends keyboard input eg. type ("Hell...
What are the use of these functions in winrunner? 1. Substr 2. Load 3. Edit_get_list 4. Invoke_application
1 - substr : extracts a substring from a string. syntax: substr (string,position,length); &nb...
Custom object, standard object and virtual object
What is the use of mapping custom object to standard object? what is difference between custom object, virtual object and standard object?What anyone will miss if he avoid to mapping or use virtual wizard for custom object?
Winrunner has default GUI objects like Windows, PushButton , Check box etc., these objects are called as standard objects. This objects can automatically learn by winrunner from our application. ...
How to solve problem "winrunner cannot identify object"
Hican some one please reply as soon as pos about solution when winrunner gives error " cannot identify object"details:-i recorded a (dot net ) windows application ,while running it gives this error,when I checked using gui spy ,the window id stored in gui map editor is toTALLY different from runtime...
Hello,
You can map your GUI objects using "GUI Map Configuration" in that you jst remove the MSWid from mandatory & add edit class.
Let me knw if you have any issues?
Thx,
Ramesh.N
some times it happens because of the GUI map file is full with objects. so empty the GUI map file before recording(tools--- GUI map file--- clear)or you can make winrunner identify the object by using...
What is the framework of winrunner?
can you please tell me what is Winrunner within a keyword driven framework.
There are some other framework called EMOS, WRSFS etc. can be implemented with WinRunner.For example: WRSFS is a framework, gives flexibility to just enter your test data against gui logical name in n...
How can I give input to a tsl script(like scanf() in c)?
Thanks!!
syntax:
set_window(window,time);
obj_type(object,input);
example:
set_window("New Class",5);
obj_type("ThunderRT6TextBox","abcxyz");
What are the advantages and disadvantages of waterfall model?
Advantages: it is a continuos flow model.
disadvantages: if any defect or bug found in the application it is very difficult to start from the beginning phase.
Advantages:As the Requirements are freezed a robust application can be builtDisadvantages No scope of changing the requirements &...
Can we use winrunner for performance testing?If so how?
Yes, we can perform performance testing by using Winrunner1.Calling the Function get_time(); or 2.Using the following Script declare_transaction("abc"); button_press("OK")...
Yes, we can perform performance testing by using winrunner
by caliing the function
get_time();
How do I read text inside dialogue boxes or pop ups using winrunner
I want to read text inside dialogue boxes or pop ups using winrunner. I also want to save the pop up as image in a word document. How to do this? Please help
you can use the function win_get_text or obj_get_text to get the text in dialog
Alse you can use the function win_get_info,but the text return is only visiable
By using the Update mode in Winrunner. Run the test. If there was any changes in the object. Then our winruner can't recognize that object @ that time so by using virtual object recognization we can ...
Instead of manually editing every testscript, you can update the GUI map. The GUI map contains descriptions of the objects in your application. When you run a test, WinRunner reads an object’s log...
Winrunner - how to use regular expression in password box
Hi, please tell me how can we use regular expression for password field.E.G I want to check the pasword whether its taking numeric or charcter in uppercase or lowercase.And the range...How to compre text which is there in password field....Is there any function is there for that..Please help me...
I think that Regular EExpressions are used to validate the testcase depending upon the condition.i.e if PWD is accepting lower case, upper case, numeric Then depending on the condition we are using RE...
Hi..
Thanks for reply..But it will work in text field not in password filed...
Hope u got my point..
How do you map a custom control to a standard control?
GUI Map Configuration is used to map custom control to a standard control
Through Virtual Object Wizard menu
How to call the dll functions into a script? How to know, what are the functions present in a dll function?
There are two types of files 16bit and 32 bit
load _dll("path")
load_16_dll("path")
load_32_dll("path")
How to check the not null sequence of a form in window application
I am working on window application form , I need to check the sequence of mandatory fields, like if there are two mandatory fields on the form then if I leave first field empty and click on save button then it should show the message for first field not for second one
How to check the tab sequence of a form in winrunner or in QTP
Hi ,i am testing a application , I need to verify tab sequence of each form in the application how it can be done in winrunner or in QTP to make a script to verify the tab sequence of particular form.Please respond me as soon as possible
Mention few scenarios where we can use data driven testing in winrunner banking projects in detail.
we can use data driven testing to check different transaction as a whole and induvidually we can use it to check amount and name and transaction fields.
How would we test if some urls are provided in an excel sheet automatically.
An excel sheet contains 10 urls. The winrunner should take the urls from that excel sheet, they should be opened and checked whether the homepages are opening or not. I needed the processor how we do this. Expecting a quick response from you.
use data driver wizard
What is the winrunner type() function to pagedown key press?
type ("
Invoke is the command to open any application in winrunner
invoke_application(file, command_option, working_dir, SHOW);