hi
Can anyone tell me abt how to do the virtual objects and
how to pass input and output parameters in qtp? Plz send
the answer in detail.
Thanks
Priya



hi Can anyone tell me abt how to do the virtual objects and how to pass input and output paramet..

Answer / Shubham Shukla

Virtual Objects in QTP allow you to create reusable test objects, which can be used across multiple tests. To create a Virtual Object, right-click on the VBScript editor, select Record, and then click on New Virtual Table/Action.nnTo pass input parameters, you can use the `Set` keyword to assign values to variables within your test script. Similarly, to capture output parameters, you can use the `Get` keyword.nnFor example:nn```vbnetnDim myInputParamnSet myInputParam = RepositoryItem.Valuen``` This sets the value of `myInputParam` to the value of a property named `Value` from a repository item.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QA Concepts Interview Questions

How to write the test cases for history of chat ?

1 Answers   iGate,


How would you ensure that your testing is complete and has good coverage?

1 Answers  


what is meant by negative testing..give me one example?

17 Answers   MBT, TCS,


Hi, Please can anyone tell me the difference between writing test cases & test scenarios? What all should be included while writing a test scenario?

3 Answers  


hey, i recently attended 2 interviews and they asked whether I used qamonitor of softsmith. any help on what it does?

2 Answers  


why exactly we need qa(quality analyst)?what is the diff btw quality analyst qnd quality assurance?

3 Answers   IBM,


steps for perfoming integration testing?

1 Answers  


What is the difference between quality assurance, quality control and testing?

1 Answers  


PET model architecture..?

3 Answers   Logica CMG,


what is CR,BR

5 Answers   QA,


What is the Difference between 2-tier and 3 tier applications... Anybody can explain in detail... Thanks in advance

3 Answers   Siemens,


how much it is necessary that if u r a sqa engineer then ur programming should be strong or either u have only concepts of it but u r not a good programmer.If the person is not a good programmer then do they are able to make their carrer in this field of qa and do it has good scope for them being not a good programmer?

1 Answers  


Categories