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
What is the default add-ins in qtp?
Can any one send me the QTP Basic Coding Samples?
Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com
how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps
How many types of recording modes are there?
What are main panes available in qtp test browser?
Explain QTP using different development techniques ?
how to test Web application using QTP software
please post the interview questions for QA position in FACTSET
What are the ways you can synchronize?
what r the main attributes of test automation?
How will internal and external links be validated and updated? how often?
Does quicktest professional is unicode compatible?
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
Is it possible to split an action? How?