Explain about reusable actions?
Answers were Sorted based on User's Feedback
Answer / naren
An action that can be called multiple times by the test in
which it was created.(local test) as well as by other tests.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / mahaboob
An action which can be call within the test or some other test is called as reusable action.qtp 9.2 version onwards actions are reusable action.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / vijay
if we eant to use the 'call to existing action' option, we
have to make an action as reusable action.
for that we have to go for action properties and click the
check button.
let action1 is a reusable action then we call it to any
other action. If we change the script in action1 it is
affects in all actions in which we called action1.
by
vijay(SDG)
| Is This Answer Correct ? | 0 Yes | 1 No |
Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.
We have a dynamic webtable where rows keep on adding.I have to click on particular row where the status changes to Update or Save.How do you click on Status(either it can be Update or save)
How to retrieve data from application objects?
WHICH functionalities of QTP used in Banking project?
Explain the keyword createobject with an example.
in one page we have 100 links i have to click the 99th link how can i click the 99th link.
4 Answers GK Technologies, IBM,
How does QTP identifies the object in the application?
For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?
what is the syntax for regular expression in QTP? how to create user defined functions in QTP?
Anybody explain me, the concept of checkpoint declaration in the QTP mainly for the Objects, Pages, Text and Tables ?
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
What is qtpro?