this q asked in applabs, q is: QTP should open google.com
page and enter "qtp" in one edit(search) box and click
search and should open google.com again and enter "job" in
edit(search) box and click on search. I tried this but
getting error "Edit(search) box matches more than one
object", could anyone this question plz..



this q asked in applabs, q is: QTP should open google.com page and enter "qtp" in one ed..

Answer / alagu palaniappan

Hi,
For this u have to use regular expression in the editbox
if u use regular expression u can give dynamically changing
values that qtp can also able to identify



ALAGU PALANIAPPAN
CHENNAI

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More VB Script Interview Questions

How to get the length of the string by making use of the string function?

0 Answers  


What is the use of the date function in the vbscript language?

0 Answers  


What is variant in vb script?

0 Answers  


write a vbscrpit to swap values

2 Answers   Adani,


Develop a parameterized action that accomplishes the following a. Launch a browser of users choice ( example : IE, chrome etc) b. Open up a search engine (Google, Bing etc) c. Perform a search d. Click a particular link depending on the user’s choice ( 1st , 2nd or third link)

0 Answers   TCS, Wipro,






Can anyone send me a vb script function for verifying the functionality of active links on a web page

0 Answers   Zensar,


Write a test case using Test if the images,a particular test exists,check if the page links match,page response is within a certain range,parameterization of the test,the test should comprise of actions,the test should use a custom function,the test should use global repository

0 Answers  


HOW TO OPEN NEW TAB USING VB SCRIPT IN QTP?

1 Answers   TCS,


what is diff b/n these 2 programs 1) for i=5 to 1 step 2 msgbox "pass" next 2_) for i=5 to 1 step -2 msgbox "pass" next

5 Answers   Hexaware,


How to get path of the file through scripting?

1 Answers   Hexaware,


Hi, can any one tell this Actually I AM NEW TO QTP I have one qtp script in which it calls the vbs file during it's run TIME by using the ExecuteFile "absolute path" If the vbs file is executed seperately it will give the output in a msgbox In the same way if qtp script is executed the result will be displayed in w result window right? Now the question is how to get that vbs file output in the qtp result window when I run the qtp script which calls the vbsfile during it's run TIME

1 Answers  


Hello Friends , I am the new joinner of this website. I am working with Sapient ,Gurgoan I would like to ask few qurries regarding the QTP Tool of (Testing) Currently working on QTP Tool . I would like to no learn VB Script can u name some Books which i get in market. And a small issue in QTP I had 2 users right i have to login and send the document from this user to second user right. when i am send this doc some contendId number generates right. now i am loging into second user and i have to search for that contentId right i found it now i dont want to accept the document so i had an opption of check out ok i have to click on check out my QTP Code is like this Browser(" ").Page(" ").WebTable(" ").ChildItem (3,5,"Image",0).click Browser(" ").Page(" ").Link("ChecK Out").Click i new this code is perfectly right but when i am run the script i have to click on that particular contentId and click on check out but now the Problem is started the error is the document has been already checked out remeber every time my content id changes means it is the new contentId which is not been used atleast once Please help me out in this issue i am in big trouble

0 Answers   GCE, Sapient,


Categories