How to read email notifications using QTP?
How to execute SQL Query in QTP with VBScript?
Latest Answer: We can execute SQL query likedim conn,rsset conn=createobject(ADODB."connection")set rs=createobject(ADODB."recordset")$conn.provider(Microsoft.jet.oledb4.0) "it is provider"conn.open(D:sekhar/ramesh.)rs.open "select * from orders",conn.while rs.EOFmsgbox ...
How to add more records in QTP to check the database of the website?
What testing framework QTP supports
Latest Answer: Framework is designed by testing experts. Main purpose of using Framework is re-usability. QTP supports 5 frameworks1. Data Driven Framework2. Key word driven framework3. Module Framework4. Linear Framework or sequential framework5. Hybrid Framework ...
When doing a search, the search result page list some rows which contain a column of button. How to click on (dynamic) button in a web table?
Latest Answer: Hi this is Priyank,To click a button on page dynamically use following code-dim valset my_button = Description.create ()my_button("html tag").value = "A" ' check through object spymy_button("text").value= val ...
How to run dir, cls time msconfig, scandisk etc commands by using QTP Descriptive Program
Latest Answer: We can execute DOS commands from QTP.SystemUtil.Run "cmd"Window("nativeclass:=ConsoleWindowClass").Type "cd.."Window("nativeclass:=ConsoleWindowClass").Type micReturnSimilarly you can exexute your own commands.Window("nativeclass:=ConsoleWindowClass").Type ...
How to create regular Expression for the date for example (MM/DD/YYYY)(12/04/2008)?
Latest Answer: (0[1-9]|[12][0-9]|3[01])/(0[1-9]|1[012])/19|20)ddPlease insert back slash before "d" in the above regular expression when you are using... This site trims the back slash when I post the answer... ...
If there are three shared obj repo(t1,t2,t3) and all three contain obj "A" with same property ... The script is using all the shared obj repo. Then how do we ask the script to select "A"
Latest Answer: The following code snippet clears your doubt To use "object A" in third shared object repository, we use Add method. To add the object of third shared object repository.RepPath = "\MercurySORSMySharedObjectRepository3.tsr" ...
How to use the "Registery Key" in QTP
How to count the number of links in web page using QTP Script?
Latest Answer: 1) You can use Page checkpoint to find number of links in a web page.2) Following can also do the same task:Set oDesc = Description.Create()oDesc("micclass").Value = "Link"Set Links = Browser("Browser").Page("Google").ChildObjects(oDesc)NumberOfLinks ...
View page << Previous 1 2 [3] 4 5 6 7 8 9 10 Next >>

Go Top