what is difference between calling a function and reusing
an action?
Answer Posted / kotike
Action and function both are using for reusable purpose.
Action is from qtp side and function is from vbscript side.
If at all any validation need to do in our application then
we go for action.Using function we cann't do any validations
Action can return more than one value using action
parameters whereas function can return only one value.
Regards,
mahi.kotike@gmail.com
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Pls can anybody send me the Recent Technical and Interview Questions Which were asked in IBM(QTP)Automation PLZZZZZZZZZ
please post the interview questions for QA position in FACTSET
Connect to QC using AOM.
any body can you help me what is the script to automate an comand promt
What is the XML file architecture ?
1.Write a CRITICAL test cases for calculator ? 2.What is the difference b/w FRS and SRS documents ? 3.What is Component ? 4.What is object ? 5.what is the difference b/w static and dynamic descriptive programming ?
What are some test assets and related extensions of qtp?
how can i sent QTP results to the Html, notefile ,xl file give me the code using g mail login page
what is the difference betn QTP 8.0 AND PREVIOUS VERSION
Write a script to customize the test results in PDF and HTML format.
Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations
What should we say if interviewer asks "What is ur project architecture?".......Can any one help me with clear information.?????????
How will you report the bug and explain the defect tracking sheet you handled?
Can we run multiple QTP scripts one after the other without manual intervention? How?
Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("ยป County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma