how can i call reusable action in a function
could any one explain me?
Answers were Sorted based on User's Feedback
by using if then else statements...
for example...
public function cal_action(strdata)
if strdata = "" then
runAction "Action1[test1]",OneIteration
else
RunAction "Action1[test2]",OneIteration
else if
Close function
Like this....we can call
If any queries..
nanda.dreddy@gmail.com
| Is This Answer Correct ? | 2 Yes | 1 No |
I am testing a website TheLancet in qtp 9.2 and running a script but its not working.Tell me if m doing anything wrong in the script. If Browser("TheLancet.com - Home Page").Page("TheLancet.com - Home Page").Link("Clinical").exists then msgbox "object exist" Else msgbox"object doesnt exist"
can any body pls mail me latest FAQ's in QTP to my mailid btrintra@gmail.com....Thanks in advance
Write a script to customize the test results in PDF and HTML format.
hello, i was install Q.T.P.8.2 in windows xp version .when i am running my programs all the desktop icons are disappear why so. please guide me anybody how can i come out side this problem.
can some one help me how to compare the values from one sheet to values in another sheet? suposse i have a feild called Temp in action1 and i also have temp in action2. i want to compare the values of those two actions sheets data table? how can i do it using descriptive programming?
Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?
I have to automate excel features using qtp in this i need to open instance of excel in different ways like double click on file, drag & drop options, File > open option but i know the 2 ways to open the excel instance 1 is by creating the object and another is to open the excel file in already opened instance of excel through sendkeys through qtp. But i m not geting how to open excel file through double click and drag and drop option through qtp script plz help me out anyone can thanks in advance
If aclient comes to tester ask to bye a tool Keep aside about the cost,In what way we can choose the tool.
Give me Example for Generic Functions in QTP Framework....Anybody please answer me..Thanks in Advance
hi Friends ,willany body tell me what is the Scope for the automation Testing inht Future is their Or not And what is the Top Most Level in the testing section according the Pay scale
CAN ANY ONE PLEASE EXPLAIN DIFFERENT TYPE OF FRAMEWORKS USED IN QTP?EXPLAIN EACH OF THEM?..POST TO VANILKUMAR_1981@YAHOO.CO.IN
Hi, I want to write the script for a webpage. But i didn't added the properties of the objects to the object repository. Without adding the object properties to the object repository, how to write the script. When i am writing the script, Let us say i typed as Browser (""). after selecting ".", if the object is added to the object repository it will display atomatically. But in my case it is not as i didn't added the object properties. How to proceed further in the above mentioned case to write the script manually. Pls let me know if you didn't understand the question.