how can i call reusable action in a function
could any one explain me?
Answer Posted / nanda
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 |
Post New Answer View All Answers
What are the technics follow in writing VB script?
A FORM CONTAINS 5 FIELDS. 1 FIELD IS ENABLED REMAINING(4) FIELDS DISABLED. MY QUESTION IS ENTER VALUES INTO 1 FIELD AFTER THAT CLICK TAB BUTTON THEN 2 FIELD ENABLE THIS PROCESS CONTINUE UPTO 5TH FIELD. HOW TO WRITE CODE IN DESCRIPTIVE PROGRAMMING. PLZ TELL ME THE PROCEDURE AND CODE FOR IT.
What is the use of running the scripts in Hidden-mode in UFT?
what type of run time errors you get while you ar edoing rpg program?
How do you send email with attachment from outlook using qtp ?
What are the ways you can synchronize?
Tell me one scenario, the complex functionality you have automated in your project?
When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti
what is command for executing files?
How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..
Hi, My name is kishan. I have good Conceptual Knowledge on QTP. In order to Boost up my Confidence Level, I want to do a Project oriented Training only on QTP in Hyderabad. Kindly Let me know which is the Best QTP Project Training Institute in Hyderabad. Thanks in Advance kishan
i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji
Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain
Step 3&4 are repeated until an the object in recognised uniquely.
If I change the object name in one action will it be updated in all the actions? Or not?