what is option explicit? what is the use of it?
Answer Posted / uday kumar_anem
If we use 'Option Explicit', then we must declare the
varible before we use.
If you dont declare the varible, then it returns an error
message.
If you dont use 'Option Explicit' then no need of declaring
the variables.
| Is This Answer Correct ? | 20 Yes | 5 No |
Post New Answer View All Answers
Explain how Selenium is different from UFT?
action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans
Explain calling sub procedure.
What is the meaning Work bench?
What is keyword driven framework?
What is the use of text output value in quicktest professional (qtp)?
Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("ยป County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma
By using QTP can we record any log files written by the application which is in execution?
What VBScript operators, functions, and statements do you use in QuickTest Professional?
How to find operating system information using the qtp script?
What is the qtp testing process?
How to get the particular property value?
How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..
i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.
Describe function procedure in vbscript.