Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How can we get the result from WindowsXP Command Window?
(e.g. After we input 'ipconfig' in command window, how QTP
get the result?)

Answer Posted / surya

Dim app
set app = createobject ("Wscript.shell")
SystemUtil.Run "cmd.exe"
app.sendkeys "cd\"
app.sendkeys "~"
this code will run

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the default add-ins in qtp?

988


Can any one send me the QTP Basic Coding Samples?

2079


Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com

1850


how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps

2094


How many types of recording modes are there?

1036


What are main panes available in qtp test browser?

980


Explain QTP using different development techniques ?

916


how to test Web application using QTP software

1790


please post the interview questions for QA position in FACTSET

4433


What are the ways you can synchronize?

1044


what r the main attributes of test automation?

2065


How will internal and external links be validated and updated? how often?

1118


Does quicktest professional is unicode compatible?

947


when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next

3931


Is it possible to split an action? How?

1108