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 |
what are the disadvantages of descriptiveprograming
How to change the screen name while running the test.
Please let know the scripts for counting number of repeated letters in the word. Note repeated letter should not be count agian. Ex: If "Hello" is my word... l is coming twice.. it should count once and print... secong 'l' should not count again..
how to reverse a string with out using string or predefined function,ex:string is " i love india". the output should be like this "i evol aidni"
How can get count of list box?
How do know the number of browsers opened?
On what basis we select test cases to automate?
what is the test object?
How to retrieve the property of an object in QTP?
In a web site, Protocal has been changed http: to https: what is your approach?
Limitations in QTP?
can any one tell me what is syntax error in line msgexist=Browser("title:=Gmail: Email.*").Page( "title:=Gmail: Email .*").WebElement(innertext=&msg).exist 'code ************** Call login("lal="," " ) wait(5) Call errormsg("Invalid email address. [?]" ) Function errormsg(msg) msgexist=Browser("title:=Gmail: Email.*").Page( "title:=Gmail: Email .*").WebElement(innertext=&msg).exist if msgexist then Reporter.ReportEvent micPass,"enter valid username or pwd ",msg else Reporter.ReportEvent micFail, "entered valid uname and pwd",msg end if End Function