what is the purpose of SetTOProperty Method?
Answer / uday
You want to modify a property value of an temporary test
object during that run session, you use setTOProperty.
for ex: in your OR, there is an obj(tempObj) with property
name "Hello". If you want to change this property to "Hello
uday", use setTOProperty.
Object.setTOProperty "name","Hello uday"
Note: The updated value is not changed in OR.
| Is This Answer Correct ? | 19 Yes | 1 No |
How the smart identification is used in real time?Please explain with an example
I got an error "The"flightres" Dialog was not found in the Object Repository. Check the OR to confirm that the object exists or to find the correct name for the object." while running the following script Set flightres=description.Create() flightres("text").value="Login" flightres("Class Name").value="Dialog" Set agent = description.Create() agent("nativeclass").value="WinEdit" agent("attachedtext").value="Agent Name:" Set pwd = description.Create() pwd("nativeclass").value="WinEdit" pwd("attachedtext").value="Password" Set button = description.Create() button("nativeclass").value="WinButton" button("Text").value="OK" Dialog("flightres").WinEdit("agent").Set "test" Dialog("flightres").WinEdit("pwd").Set "mercury" Dialog("flightres").WinButton("button").Click Please let me know if i made any mistake in the above script...?
CAn anybody tell me how can I use QTP to capture any video in my application?I want to see the video file opened in my application after the tests are completed in tests results.Can anybody help me?
How to use the object spy in quicktest professional (qtp) 8.0 version?
what is diff b/w function and action?
how u write vb script in qtp pls give me some basic script and some material
32 Answers Datamatics, UHG, Winit,
hi i need to learn qtp its very urgent..pls tell me who is the best faculty for qtp in hyd..... and i plan to go foe mindq nageshwar rao? its good or not?
what ar the challenges do we face while testing webbased applications using the automation tool qtp or any?
In application have 2 list box oppsite list box two edit box is there.so now through using DP how can we select 3 opption in first list box and 2box semect 4 opption.in edit box also we have to write 25 ,28.how can we do this
Syntax for how to call one script from another and Syntax to call one "Action" in another?
In Test Director , You can store Test cases or vb Script . Why we need VSS?
I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!