How to open a file. What is the perpose of true and false mode there?


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

Post New Answer

More VB Script Interview Questions

Diff between web table ,datatable and data base (QTP)

2 Answers   TCS,


Write a Script for ATM in QTP

0 Answers  


How to get the background color of a weblist?

3 Answers   Accenture,


How will you get the exponent of the given number in vbscript?

0 Answers  


What is the use of the ‘open’ method to work with the database in the vbscript language and what connection string is passed in the same and what is its usage?

0 Answers  






I want to count the total no of links present in yahoo home page. The script like Set fileSysObject=createobject("Scripting.FileSystemObject") Set linksFileName=fileSysObject.opentextfile("D:\samplelinkfile.txt",2,true) Set linkDescObj=description.Create linkDescObj("micclass").value="Link" Set noOfLinks=browser("yahoo").Page("Yahoo!India").ChildObjects(linkDescObj) For i=0 to noOfLinks.count-1 linkName=noOfLinks(i).getROProperty("name") linksFileName.writeline(linkName) Next linksFileName.close Set fileSysObject=nothing But while running the script it is fail (the object not present in the object repository).How to overcome please tell me the detail steps...for QTP9.30

1 Answers  


how many types of recording are there?

1 Answers  


how to organize files in object repository of qtp

1 Answers  


can any body give the code to write the function for given suppose user login with usrer id and pwd to yahoomail.after cliking "sign in"if it is valid user id the next page will display userid'message box.( Note u have to use excel sheet to retrive the userid's data)

3 Answers   Bally Technologies,


Is VB Script Case sensitive or Case insensitive?

0 Answers  


Hi Friends, I have an issue like the describe below: I'm using QTP and I'm testing on SharePoint. As you knoe, SharePoint has a customize function for user, so that, If I add an object Web Table at the first time, that object was recognized by "index" and "html tag", after that, if someone change the display of web part, the "Index" of my object was changed as well and QTP unable to select that Web Table. Can you guide me how to identify or anyway to keep that Web Table object as unique object? Thanks a lot.

0 Answers   CSC,


How many data types are supported in Vbscript?

3 Answers   Microsoft,


Categories