How to open any application during Scripting?
Answer Posted / ramyab.mca@gmail.com
Hai...
SystemUtil, object used to open and close applications and
processes during a run session. A SystemUtil.Run statement
is automatically added to your test when you run an
application from the Start menu or the Run dialog box while
recording a test
E.g : SystemUtil.Run "Notepad.exe"
SystemUtil.CloseDescendentProcesses (Closes all the
processes opened by QTP)
K,Byeee...
Thanks & Regards
B.Ramyasri
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
explain keyword driven framework with banking domain?
How do you check ticket cost and ticket number in flight application?
What is smart identification in QTP?
Difference between test object and run time object?
after click on compose mail how can we attached a file in qtp with vbscript code
Is qtp supports uni-code?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?
Write a script to customize the test results in PDF and HTML format.
Is it possible to use two instances of UFT on the same machine? If not why?
What are the disadvantages of recording test cases in qtp?
What are the advantages of a Hybrid framework?
How to test background color and dynamic images during run time can you put the check point for moving objects?
I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?
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
Can launch two instances of qtp on the same machine?