Hi What are re-usable actions in QTP?
-Thank You
Answers were Sorted based on User's Feedback
In a test there will be some action if any action in a test
is useful in another test then we are going to use that
action as re-usable action then we going to that action in
another test
NOTE :We can use a action of one test in another test if
that action is change into re-usable action
if any wrong in this answer inform to me plz.........
| Is This Answer Correct ? | 11 Yes | 2 No |
Answer / rohini
Reusable actions are like functions in programming. when
you have a process that needs to be included in several
places in the testscript you can record and save it as a
reusable action. (Check the reusable checkbox while
recording the action). Then you can call this action from
other tests instead of recording and modifying each time,
| Is This Answer Correct ? | 5 Yes | 4 No |
Answer / bantanahal haribabu
An Action That can be called multiple times by the test and also another test with wich it is stored(the local data),as well as by other test.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / sravanthi
these r the actions which r reusable in another actions. we
can also make non reusable actions into reusable actions .
for this we have 2 follow this navigation
record our reqs operation->step menu->action properties-
>select reusable actions
| Is This Answer Correct ? | 1 Yes | 3 No |
Hi I'm a beginner in QTP. So far I'm ok with Descriptive but stuck while implementing Hybrid Frame work. 1. I have created a Keyword file with .vbs ext set home=description.create home("title").value="Welcome to feests" set reglink=description.create reglink("name").value="register yourrestaurant / take away" set fbusname=description.create fbusname("name").value="business_name" set dispname=description.create dispname("name").value="display_name" set restchkbox=description.create restchkbox("name").value="restaurant" set cuiscate=description.create cuiscate("name").value="cuisine_categery1" set addline1=description.create addline1("name").value="address_line1" set pstcode=description.create pstcode("name").value="address_postcode" set cntry=description.create cntry("name").value="address_country" set mlandno=description.create mlandno("name").value="landline_no" set emailadd=description.create emailadd("name").value="email" 2. I have created an Function Library file as follows Function launch() bro="C:\Program Files\Internet Explorer\iexplore.exe" url="http://www.feests.com/" invokeapplication bro&" "&url Browser(home).page(home).Link(reglink).click End Function Function restregistration(karthik, teja, Ameerpet, UK) Browser(home).page(home).WebEdit(fbusname).set "karthik" Browser(home).page(home).WebEdit(dispname).set "teja" Browser(home).page(home).WebCheckBox(restchkbox).set "ON" Browser(home).page(home).WebList(cuiscate).Select "Indian" Browser(home).page(home).WebEdit(addline1).set "Ameerpet" Browser(home).page(home).WebEdit(pstcode).set "UK" Browser(home).page(home).WebList(cntry).select "United Kingdom" Browser(home).page(home).WebEdit(mlandno).set "023775347" Browser(home).page(home).WebEdit(emailadd).set "email@gmail.com" End Function 3. This is how I have called the keywords and Functions in QTP executefile"C:\Documents and Settings\karthik\Desktop\keywords.vbs" executefile"C:\Documents and Settings\karthik\Desktop\functions.vbs" launch restregistration karthik, teja, Ameerpet, UK, "email@gmail.com" Now the issue is, I'm trying to enter the email ID in WebEdit field. But I dont know what is the mistake I did, if I run the script in QTP it is showing following error Error: Expected identifier Line (2): "executefile"C:\Documents and Settings\karthik\Desktop\functions.vbs"". Can someone help me fix this, please!!?
What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)
1. how can you handle exceptions without using recovery scenario?
what is flag=0 in qtp tool.. i am strugglin to use flag function , exactly when it is used , any real time expert pls explain clearly?
I wnnt to learn about QTP Automation Framework,please give URL Address to get more information about AFW.
what are the areas that cannot be tested using an automated tool? list a few
What is Descriptive Programing? In which cases, we will go for descriptive programing?
wt is automation framework? give explonation?
why the smart identification is not there in WinRunner
Hi any body can tell me the in detaled information about Description.Create() thanks in advance
What is the Maximum syncronization timeout in seconds in QTP 9.5
How to handle the exceptions using the recovery scenario manager in qtp?