qtp

How do I call DotNetFactory from VBScript in a stand-alone .vbs file?

I've been exploring options for expanding my QuickTest Professional scripting capabilities, and came across this article this morning, so I decided to experiment a bit. The code below works fine when executed inside the QTP environment, but I could see a use for this outside of the QTP environment as well. Unfortunately, it is causing an...

Record enter button in qtp

How to record ENTER button that we use through the keyboard in QTP for applications ...

QTP - getting value of element

Hi, I am beginning with QTP and just cannot find out how to get value of element. For example when I just want to compare the number of results found by google. I tried to select the element with object spy and use Val(Element) to assign the value into variable..but it doesnt work. Could anyone help with this? BTW, I am not sure whether ...

QTP - testing while browser/page title changes

Hi, I am trying to make simple testing but failed because I have no clue how to handle with browser title that changes during the testing. Simple example: Google>Find "blabol" Once its done, the browser title in QTP changes its name to "Google - results....". This is obviously problem when the search text is a variable that changes bet...

VBScript regex question (.*)

Hi, I am using VBscript in QTP and I am a bit confused: Browser("name:=.*") //works Why Browser("name:=*") does not work? Why is there a . character? Thank you! ...

Some validations to be done for a weblist or drop down list in VB Script.

I have a weblist or drop down list in my application which consist of many items. I don't know the count but I need to validate the following - Validate that none of the items are duplicated Verify none of the items are numeric Verify all items are in sorted state. Please suggest your respective solutions in VB Script I want to exe...

Does Selenium or WatiN have property like QTP's Setting.WebPackage("ReplayType") = 2?

There are some buttons and menus in the application I am testing that require actual clicks to send all the information through and FireEvent style clicking does not seem to cut it. Both TestPartner and QTP can use actual clicks. TestPartner does this always (slow) and QTP does this by changing the 'ReplayType' to 2 from 1. Setting.We...

ExcelADO - Using Range to fetch data from excel using VBScript

Given the advantages of ExcelADO as described here I have decided to use Excel ADO for QTP Automation. So here is the code which I used - 'Open the ADO connection to the Excel workbook Dim oConn Set oConn = CreateObject("ADODB.Connection") oConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=D:\Mine\QTP\Book1.xls;"...

Can we automate Application available under Citrix Program Neighbourhood?

I tried to automate an application available under Citrixl Program Neightbourhood using QTP 9.5, but QTP does not identify the objects inside the application. Can we automate citrix application using QTP? What are different tools available to perform automation testing on Citrix applications? ...

what is descriptive programming in QTP

what is descriptive programming in QTP ...

can we create database checkpoints for Web applications?(testing)

Hello, Its regarding QTP can we create database checkpoints for Web applications actually while creating database checkpoints we have to create DSN . So my question is can we create DSN for remote databases hosted on some other server. Please enlighten me on this. ...

Is it possible to get code coverage data for a GWT web app running tests from the web browser?

I am not sure if this is possible but I would like some way to get code coverage information for tests that are written in Quick Test for our GWT based web app. It does not seem like there is any solution because the Quick Test Pro tests are testing against the GWT compiled app and not the original java code in which the app was written...

QTP, QC, Load Runner and RFT tutorials

Hello, I am newbie in testing. Can you please suggest me some good tutorials of Quality Center Quick Test Professional RFT Thanx in advance ...

how to Implement Cruise Control with QTP?

I would like to integrate QTP with Cruise Control, which I have done so far, i'm stuck at the reporting part. I would like to somehow report back to Cruise Control with the results, how can I accomplish this? Please help? ...

How to develop a Nightly Builder

Hello, I was told to create a tool like a Nightly Builder for a JUnit project. It's a client-server project with oracle database.The tests are based on QTP. Also there is a test interface written on C#. The tester can click on the interface to choose which tests to run and get a report from each test. So I have to make this procedure aut...

how to reduce dependency in running QTP without having it installed?

how to reduce dependency in running QTP without having it installed? ...

Getting following error while running application

I have an application developed in C Sharp, which is executed in QTP but i get the following error: Cannot identify the object "2" (of class WinObject). Verify that this object's properties match an object currently displayed in your application. Can anyone help me resolve it? ...

QTP doesnot run in another screen resolution, any suggestions?

QTP which access an application object in test PC screen resolution doesnt access the application window object in laptop? any suggestions to resolve this? ...

QTP doesnt recognize same VB windows object in next build..

We are working on a project which uses VB script & QTP to automate a VB application. On 1st build QTP was able to recognize a window object in the VB application. But in the next build QTP didnt recognize the same window object & suggested that the window object is of different ID. how to resolve this issue? ...

Siebel On Demand with QTP

Can we automate Siebel CRM On Demand with QTP? ...