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
The hybrid framework can be implemented for any application. Is it true?
Problem with XML checkpoint in QTP ?
Do you know SQL? I know SQL but i don't have any experience...that's it..No more questions ...simply he said " you can leave for the day" ...guys prepare SQL Quires before attending interview in bank of america...
Can we access the java methods in qtp. Because my requirement is to access the swt(for eclipse an it is java code) methods in qtp is it possible?
Explain the use of action split in qtp?
What is quicktest professional window?
1.How to record ,capture and also script to capture the close buttons. 2.How to record ,capture and also script to capture the options ---File ->save and File ->close in a browser and PDF files. 3.How to compare the Excel sheet values in a report using QTP scripting. 4.How to compare 2 PDf reports using QTP scripts as well reording. 5.How to compare 2 Excel reports using QTP scripts as well reording. 6.How to save a PDF report to a folder and then translate the report to an Excel type of report and compare that Excel Report with an other excel report. Please clarify me
what are the issues we will get when there is migration from QTP 8.2 to QTP 10.0? Is there any problem in executing scripts of 8.2 on 10.0?
An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?
What is the short cut keys for the following?
Generic function to search for the unique link in webtable and click on it
Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.
Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter
How to connect to a database?
Where you are storing your script?