how u write vb script in qtp pls give me some basic script
and some material

Answer Posted / hiral

Hi, i am new to QTP and need some QTP script and muterial for scripting. i know basic stuff just to record and play back. i am learning rightnow. but i need to learn asap for my project i am working with. please help me guys. i wil be appreciated. you can email me at hiralheer1@gmail.com thank you

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we retrieve the Bug Ids which are open&Reopen in status through QTP scrit?Please find the script which i tried... Dim objBugFactory, objBug Dim BugId Set TDConnection = QCUtil.TDConnection Set objBug = TDConnection.BugFactory If QCUtil.IsConnected then Reporter.ReportEvent 0, "Connected", "Connected to server: " + QCUtil.TDConnection.ServerName + chr (13) +"Project: " + QCUtil.TDConnection.ProjectName + chr (13) + "Domain: " + QCUtil.TDConnection.DomainName Reporter.ReportEvent 0, "Current time on server is","==>" & TDConnection.ServerTime Else Reporter.ReportEvent 1, "Not connected", "Not connected to Quality Center" End If If mybug.Status="Open" Then BugId=mybug.DefectId MsgBox BugId End If 'OR**********************************--------------------- -----********************************** If Bug_Fields("BG_STATUS").Value ="Open" Or "Re Open"Then BugId=Bug_Fields("BG_BUG_ID").Value MsgBox BugId End If

2573


How many types of object repository in qtp?

608


Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com

1351


Explain xml checkpoints.

599


What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?

606






Can you write a script to check if the folder exists or not?

515


How many types of recording modes in qtp?

587


How many types of status are there?

589


How to build scripts that access data from external sources?

1609


What is the default object synchronization timeout in qtp?

646


write a script to verify links on any web page by using descriptive method by creating a description object (give a filter condition only link) ... need to verify expected like name by reading

1491


What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?

573


What is standalone database?

1747


Subj: realtime example of Database check point, Can any one please detail on how the Database check point is utilized/implemented in a real time project. I already know how to make one by creating DSN/ODBC and writing the required query manually and other steps...I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thank you in advance

1773


QTP script is not working on other's machine..

1537