HOW DO U CALL A ACTION IN QTP?
Answers were Sorted based on User's Feedback
Answer / usha, usha_0383@yahoo.com
we calla a action in QTP by using RunAction statement
Syn: RunAction "Action1[called testname]", oneIteration,
parameters
| Is This Answer Correct ? | 13 Yes | 3 No |
Answer / a.thirumalareddy@gmail.com
by using call to copy of action and call to existing action we can call the actions.
if we use call to copy of action, we can call nonreusable as well as reusable actions, and we can modify the script, and we can call many times and one action sheet will be added in datatable when ever you called (per every calling you get one action sheet)
if we used call to existing action we can call only reusable actions (in QTP 9.5 above all actions are reusable only) and the script is read only (we can not modify the script), and there will be only one action sheet if we call more than once also
| Is This Answer Correct ? | 1 Yes | 5 No |
Hi, I have a login page. To login in that page I need to have a valid username and password, which is stored in database. I imported that table to my DataTable in QTP (Global sheet). Now I need to write a code in qtp so that I can login only with valid username and data. my condition is : I want to get username and password from inputbox(which i did) and click on login button- which should verify the datatable for username and password and if value is present only then lofin else stop the testing. DataTable contains columns : LoginName and Password Code: Rowcount= DataTable.GetSheet("Global").GetRowCount msgbox "RowCount= " &RowCount,1 CurrentRow= DataTable.SetCurrentRow(1) Do Browser("").Page("").Frame("Frame").WebEdit("ctl10$ct l00$ctl00$UserName$ctl").Set DataTable("LoginName",1) Browser("").Page("").Frame("Frame").WebEdit("ctl10$ct l00$ctl00$Password$ctl").Set DataTable("Password",1) Browser("").Page("").Frame("Frame").Link("Login").Cli ck CurrentRow=CurrentRow+1 Loop Until CurrentRow>Rowcount Can anyone help? Thanks, Priya
Reverse a string keeping the words in the string as it is. E.G. "Quick Test Professional" O/P "Professional Test Quick"
Hi everybody, Can anybody tell me that how the QTP frameworks are implemented . I wanted to know with examples . Thanks in advance
i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api
What is object spy in quicktest professional?
Can you write a script to check if the folder exists or not?
What is a Dictionary object in QTP.?
Explain about random testing of 500 test cases?
w is active screen
if there r 10 windows open in QTP write a command to close all 10 windows at a time ?
Generic function to search for the unique link in webtable and click on it
Suppose i have given 10 test cases all the test cases should be automated?