How to capture a runtime error in vbscript?


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

Post New Answer

More VB Script Interview Questions

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?

0 Answers  


How to insert snapshot during manual scripting in QTP?

1 Answers  


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

0 Answers   Ford,


how to delete folder test3,test4 and test5 using vbscript?

2 Answers  


Explain How do you create a recordset object in vbscript?

0 Answers  






write a vb script to calculate factorial of a number?

5 Answers  


write a vb script to display factorial of a number using function

1 Answers  


int a=4857 i need output as 7584.without using any inbuild function?

6 Answers   Aspire,


how to validate the text in a web table

2 Answers   Mphasis,


Hello All, In QTP 9.2 for Mozilla Firefox, there is webelement in my application, I tried to click on that using decsriptive programming, but it does not work. and for this i tried this code too: Set obj = CreateObject ("Mercury.DeviceReplay") absx = Browser("").Page("").WebElement(".").GetROProperty ("abs_x") absy = Browser("").Page("").WebElement(".").GetROProperty ("abs_y") obj.MouseMove absx, absy obj.MouseClick absx, absy, 0 But it is not clicked. Can anyone help me out for this problem. Thnx in Advance

1 Answers  


How to make sure that items in a wintree are sorted al?

0 Answers   Ness Technologies,


Which function is used in the vbscript language to convert the specified expression into a date type value?

0 Answers  


Categories