Syntax for how to call one script from another? and
Syntax to call one "Action" in another?
Answers were Sorted based on User's Feedback
Answer / suresh babu m
Hi,
Sorry to say from above answer is wrong.
If u want to call the actions, before it should be reusable.
Syntax : Runaction "ACTIONNAME[TEST NAME]",Oneiteration.
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / chintu
Steps to insert a call to an action:
• Choose Insert > Call to Action, right-click the action and select Insert Call to Action, or right-click any step and select Action > Insert Call. The Insert Call to Action dialog box opens.
• In the Select an action box, select the action you want to insert from the list.
• Specify where to insert the action : At the end of the test or After the current step.
• Click OK. The action is inserted into the test as a call to the original action
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / sreeprasad
If u want to call the script from one action to another
thenthe below syntax used
suppose u have created a test1 ,in that you have created
the all steps for action1.and you have created a
action2 .now you want to call your script from action
runaction "action1(test1)iteration1"
| Is This Answer Correct ? | 1 Yes | 2 No |
Hi, I want to pass a value in to Link object. For ex: I have a link where in which contains the value like "DC4463219(Active)". Whenever i will execute the script this value "DC4463219 (Active)" will get changed. I got the value DC4463219(Active) from the link and stored that value in variable "ACTUAL". If i want to select the same link again, while recording the value DC4463219(Active) will be recorded in object repository. So, that it will not work for the next cycle of execution as the value will get changed everytime as i mentioned above. I want to pass that Acutal value in to link object. The script is as follows: Actual Script when recording: Browser("Web Login").Page("Application").Frame ("ScopeFrame").Link(DC4463219(Active)".Click But now instead of this DC4463219(Active) i want to pass a variable where i have the same value. I tried to execute the script Browser("Web Login").Page("Application").Frame ("ScopeFrame").Link(Actual).Click But it is displaying the error message as that the value which we got from Actual is not existing in Object repository. So,i made the link object as regular expression. Even it is displaying the same message as mentioned above. If you are not able to understand, feel free to contact me with nbabu11@gmail.com
Which scripting language used by QTP?
please tell me how to identify the index of the link in the web table .links are not constant.example i want to click the link in the inbox ,search the item and click the partcular mail.(mail links count is not constant)
How can i check all the button that are enabled in a widnows based application ? What script should i write for this ?
what are SetToProperty, SetROProperty,GetToproperty scripting?
What is output value in QTP? Why do we use the output value in QTP?How many types of output values are there in QTP? what are their respective usage in QTP?
By using QTP, How do you test a frame in a web page?
How to Analyze the Checpoint results by Text/Text Area Checkpoint?
How the exception handling can be done using quicktest professional (qtp)?
What are the properties you would use for identifying a browser and page when using descriptive programming?
As u told write Libarary files in QTP. Do u use ever oject repositary 0r spy while writing scripts and for which type of testing u prepared test scripts.
Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work