hi
Set myobj=Description.Create()
myobj("type").value="submit"
myobj("name").value="google search"
myobj("html tag").value="button"
browser("title:=google").page("title:=google").webButton
(myobj).Click
i was running above code in one weak back it was working
fine i got result,again i opened after few days ,again i
was trying to run the code it shows run time error in last
line of my code ,why ?pls answer my question?




No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More VB Script Interview Questions

My Salary is 65000. How Much TDS I have to pay

0 Answers  


What is loose binding? Why is it not a good practice to use it?

0 Answers  


Explain about the functionality of vb script?

0 Answers  


Explain about filter expression?

0 Answers  


write a vb script to find simple interest using functions

1 Answers  


What are the data types supported by vbscript?

0 Answers  


how to set one column as primary key in QTP and fetch values accordingly

0 Answers   Ford,


How will you get the smallest subscript of an array in vbscript?

0 Answers  


I'm new to QTP, i facing a a problem in the script says"Object not found", "Browser("").page("").frame(Name:=fminfo).webtable(). the issue is, QTp is not able to identify the web table in run time.becuase in that fram"fminfo" there are "n"table and the table do not have the names,Html id. 1) i need to count the number webtables available on that page. 2)need to identify the webtable cell values. 3)How Loop the once i get the count and retrive the cell data of each webtable? Can anyone help on this, plz.. Thanks, Suresh

3 Answers  


i want to when we will write the scripts either after getting the build or after getting the SRS?

3 Answers  


how to genarate a random numbers in vb?

2 Answers  


What is the use of the instr function?

0 Answers  


Categories