how to declare a variable in vbscript using vbscript

Answer Posted / anil

Dim,public and pravite

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 2 ways to pass a value to the function?

709


How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.

2783


How to take whole text output from screen of Bitmap Application.

2062


Which function is used to perform string comparison?

788


what is the object hyrarchy in QTP for a web based application

2088


Which operator can be used to check if two numbers are equal or not in vbscript?

875


What purpose does ‘on error resume next’ serves?

781


Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?

1738


Why is it recommended to close the database connection every time after the work is completed?

699


Hi Friends my Question is very simple,in Manual testing when we click on a hyper link it directs us to the relavent page or it re-directs us to the current page,so there we can easily write testcase but same thing if we do in automation script using QTP & need to generate report using Reporter.report event how we will do it?thanks in advance...

1845


I want to run QTP script on Linux server is it possible to do this by connecting Windows to Linux through VPN/Terminal Server and just run the script on Linux server.

2001


How will you check that a variable is an array in vbscript?

741


How to pass argument by reference to a function in vbscript?

753


what is event handling?

759


Give me sm ideas to write Vbscripts abt protocol testing abilash700@gmail.com.

1829