How to pass parameters into an action.Please explain me
with examples
Answer Posted / rayudu
Thanks for your reply Deepak! But my question is not that.
By using Action Parameters.EX: I would like to enter the
values in Parameter tab of the Action properties.
Name type Defaultvalue description
A Number 25 First value
B Number 30 Second value
My question is How should validate these values in a script
c=int(a)+int(b)
I am calling this action in another action like
RunAction Action1,Oneiteration
But it did not resulted 55.
I know how to pass parameters through datatable.
Please answer it if u know
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?
Why is action split used by qtp?
what is key word driven frame work ? why it is called like that ? what is the diference between keyword driven and data driven frame work ?
What are the properties you would use for identifying a browser and page when using descriptive programming?
Can anybody post some real time scenario in qtp? please its very urgent.
How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?
What are table and db checkpoints?
Explain the difference between data driven testing and parameterization ?
What do you mean by iteration?
Will down time for server and content maintenance/upgrades be allowed? how much?
Explain different checkpoints in qtp.
What are the different recording modes and how do they work?
how to create flat file datasubmission in qtp
What is environment variable in qtp and why to use it?
I want to do QTP Certification what is the pattern of Question paper.