Quantcast
Channel: Micro Focus QTP (UFT) Forums - All Forums
Viewing all 1793 articles
Browse latest View live

UFT 11.5 and chrome extension

$
0
0
Team,
I'm trying to automate chrome browser using UFT11.51. Can you please advise whether i need to install any patches or extensions to automate Chromw using UFT 11.51? Also let me know what version of Chrome and Firefox is supported by UFT 11.5

PDF to text converter needed. (command line version freeware)

$
0
0
Hi,
I am using QTP 11 trial version, IE 8. I have to validate contents in PDF and for that I wanted to use command line version of any PDF to text converter (freeware).

Please let me know the name of PDF to text converter. (command line and NOT GUI version.

does QTP11 supports Flex application running on Jre 1.7

$
0
0
Hi Users,

We are using QTP 11 and i am trying to identify the objects of a web application that is developed using flash player . The application is designed to run on Jre 1.7 plugin .
Could you give us the scope of object identification and automation using QTP11



Thanks ,
Srinivas

QTP 11.52 not recognizing objects in Chrome 28

$
0
0
I am trying to write some scripts for applications that use Chrome. I am using UFT 11.52 and have installed patches 00022 and 00056 in order to work with Google Chrome 28. I have locked down Chrome so it does not do automatic updates in order the change the version. I only have the Web addin checked. However, when I Spy on objects, it does not recognize them. The object hierarchy shows as
Window: Google Chrome
WinObject: Chrome_RenderWidgetHostHWND

If I record I just get something like this;
Window("Window").Click 275,23

I have gone thru and checked the Record and Run settings to ensure they are set to work on any open browser. I opened UFT first follwed by Google Chrome so objects should be recognized.
Are there other addins that I need or other patches that I should install? I looked at the matrix and it just said to install the 2 patches that I did. Any help would be greatly apprectiated. Thank you!
I am using Windows 7 on a VM that is 64-bit Operating System.

UFT 11.5 with .net objects

$
0
0
Hi ,

I have a question on .net objects and recording them in QTP.

My application is a scheduler that helps schedule appointments. Those appointments are movable within the screen. On top of the appointment the name of the patient and the type of appointment will be display.

Now I have to automate this by finding the appointment on the screen using patient name and then do a right click on it. Also when I hover over the appointment the tooltip will be displayed and I need to capture that

Can you tell me how to do this? I have tried using gettextlocation. It sometimes returns success and other time says text cannot be found. I have also used getvisibletext. The text is there. But not sure how to get the coordinates and click.

Any assistance is appreciated

UFT 11.5 with .net objects

$
0
0
Hi ,

I have a question on .net objects and recording them in QTP.

My application is a scheduler that helps schedule appointments. Those appointments are movable within the screen. On top of the appointment the name of the patient and the type of appointment will be display.

Now I have to automate this by finding the appointment on the screen using patient name and then do a right click on it. Also when I hover over the appointment the tooltip will be displayed and I need to capture that

Can you tell me how to do this? I have tried using gettextlocation. It sometimes returns success and other time says text cannot be found. I have also used getvisibletext. The text is there. But not sure how to get the coordinates and click.

Any assistance is appreciated

UFT 11.5 with .net objects

$
0
0
Hi ,

I have a question on .net objects and recording them in QTP.

My application is a scheduler that helps schedule appointments. Those appointments are movable within the screen. On top of the appointment the name of the patient and the type of appointment will be display.

Now I have to automate this by finding the appointment on the screen using patient name and then do a right click on it. Also when I hover over the appointment the tooltip will be displayed and I need to capture that

Can you tell me how to do this? I have tried using gettextlocation. It sometimes returns success and other time says text cannot be found. I have also used getvisibletext. The text is there. But not sure how to get the coordinates and click.

Any assistance is appreciated

QTP Training.

$
0
0
Hello,

I have 7 years of experience in manual testing.
I want to switch to automation testing.
As my graduation is BE Chemical, I don't have knowledge of coding.
So which tool will be easier to learn?
How much time will it take to learn automation tool?

I have 3 options:
1) Loadrunner
2) QTP
3) Selenium

Please suggest me.

qtp 11, Unable to prove the disappearance ofdynamic objects displayed on same screen.

$
0
0
I use QTP 11, Windows 7, IE 8.
In my application, there is a scenario that there are 3 webelements (like payrol, monthly, Annual). For each webelement that we select, a set of fields (webelements) are displayed below the weblement in the same screen. (ie., when a different webelement is clicked from the previous one, the fields corresponding to the previous webelement disappears and the fields corresponding to the new webelement appears).

So when I validate whether the fields corresponding to the non-selected webelement are not displayed, am getting the message "fields are DISPLAYED" which shoulnt be the case.

Please help me on how to handle this dynamic scenario.

Unable to set the Start date for SwfCalendar control-using SetDate or Type method

$
0
0
Hi,

I am trying to set the Start Date in my application (.net client) but the script ends up setting the random date when I use Type method. For some reason, If I use SetDate it is setting the date in the calender, but it is not visible after saving the screen. So, SetDate method setting the correct date ,but not saving to the application and it is not visible since it is not saved. Whereas Type method setting random date and save in the application and visible. Is there any solution? Thanks.

Code:
SwfWindow("Nex.*").SwfCalendar("dtpStartDate").SetDate "2-Apr-2009"
or
SwfWindow("Nex.*").SwfCalendar("dtpStartDate").Type "4/2/2009"

How to reduce the execution time of script involving innertext in webelement

$
0
0
Hi,

I am using QTP 11 trial version, IE8 and Windows 7 in QTP automation.

In the application there are validations which involves comparing Innertext of webelements. The initialization script is Action and rest of the files (Function libraries and test case) are in .VBS format. While executing the test script, for each test step that is executed the control goes to the Global function .vbs file and the innertext of the webelement is obtained using "getroproperty".
Code:
Set oObject = Browser("").Page("").Webelement("")
tet = oObject.getroproperty("innertext")
.....I notice that at this particular step, its taking a real long time to get the innertext.

In the OR, I capture html id, html tag, innertext for webelements and the innertext has values (89.09, 87.00). So inorder to make the object applicable to all values. I made innertext as .*(regular exp).
Smart identification is "ON".

I referred some articles on the net and tried with Smart identification as "OFF" to improve the execution speed. But with this, values with .* were not recognized by QTP. Also, I declared variables and checked the speed but nothing increased the speed.

What can be done to make the increase the speed of execution for statements involving innertext.

HAVING PROBLEM IN CREATING OBJECT OF TEST BATCH RUNNER

$
0
0
Hi I am having a problem with test batch runner in UFT.
previously we were using Multi test manager to execute batches of script. But now uft is not able to support Multi Test Manager. so we are planning to run our suites with Test Batch Runner.
Previously we were using code

Code:
' Create an Instance of Multi Test Manager
Set oMTM = CreateObject("MultiTestManager.Application")
oMTM.Visible = False

' Run the scripts
oMTM.Load "D:\RegionCronJob\xyz.mtm"

oMTM.Run

while ( oMTM.IsRunning )
Wend

Set oRunSettingss = Nothing
Set oReportSettings = Nothing

oMTM.Quit
Set oMTM = Nothing


BUT NOW WE ARE HAVING PROBLEM IN CREATING OBJECT OF TEST BATCH RUNNER.

QTP is throwing an error Activex can't create object
I need to use the same code just on the place of mtm(MULTI TEST ANAGER) we need to use Test batch runner. Test batch runner is having .mtb file format.
Something like this
Code:
"Set oMTM = CreateObject("TestBatchRunner.Application")"

Test Batch runner exe is (UFTBatchRunner.exe)
Does any one have this solution?

Action Parameter passing problem

$
0
0
Hello, I am new in QTP. Can anyone help me to solve a problem? I have Action1 and Action2. I called Action2 from Action1. In Action2 I have input, Input2 And Output1 as input and out parameter. In Action 1 I wrote Input1 = 10, Input2 = 30, Dim Output and then RunAction "Action2", Input1, Input2, Output1. then MsgBox Output1
In Action2 I have --- Parameter ("Output1") = Parameter ("Input1") + ("Input2)
But when I execute the test case it only shows 1030 not the addition of the two values. What is the error in the code, can anyone please explain me?

QTP Advanced certification info needed

$
0
0
Hi, I cleared up HP-M047 couple of months back. Now I am planning to go for advanced one.

I am struggling to find information on advanced one. specially what are covered in advanced certification and where to start.

I am pretty happy with the preparation Kit I purchased from Ankur. I don't know if he has such preparation package for advanced one as well.

Anybody know any information on advanced please help!

How to run 3 of 5 actions in a test for all rows of test data

$
0
0
Hi All,

I am new to UFt and am having a bit of a problem getting my head around the ability to run some but not all actions within a test, using tall the rows of test data imported at runtime into the Globals.

The basic structure of the test is as follows:

Test 1:
- Action 1: Retrieve test data (into Globals)
- Action 2: Start Browser and Log on to application
- Action 3: Enter test data onto Screen 1 and press submit
- Action 4: Enter test data onto Screen 2 and press Continue
- Action 5: On Screen 3 verify the results then navigate back to Screen 1
- Action 6: Log off and close the Browser

I want to run on all rows only for Actions 3, 4 and 5.

Looking at the Run on all rows details we can set Test 1 to Run on all rows so all actions will be run for each row of test data.

How can I set this up to just run on all rows of test data for the Actions 3, 4 and 5?

Thanks in advance for your help,
Mike

Comparing webtable data with weblist and webelements in other webpage

$
0
0
Hi Guys,

I need script for the following scenarios.

1. Comapring names in a webtable in a webpage with the names in the weblist in another page.

2. Comparing dates in a webtable in a webpage with the dates the dates in other webpage displaying as a webelement

Please help me on this. I need that urgently.

When Automation should be start

$
0
0
In which phase of STLC, automation(QTP) should be started? As the flow of application may change, object properties are getting change.

Run Result Viewer-Standalone tool

$
0
0
For QTP 11, why Run result viewer is a stand Alone tool?Is it independent of the QTP license?

QTP Takes Long time to Run

$
0
0
hi
When i hit F5 or choose Automation --> Run, QTP exactly taking 1 minute to open the Run Dialog box. However, when i turnoff my internet(broadband) connection, it takes just few seconds to open the Run window Dialog box. I tried nearly 20 times, but no improvements when i Run my script with Internet connection ON. Can anyone please suggest me?

QTP 11 with VB5 based application

$
0
0
I am trying to automate a VB5 based app (along with some ActiveX and other components) with QTP 11. I think I remember reading that QTP 11 only supports VB6 and higher. Is this true?

I have the script running but it has issues. Usually with randomly not syncing with the app or missing a field.

Anyone have any experience with automating VB5 with QTP 11? If so, do you have any suggestions?

Thanks!
Viewing all 1793 articles
Browse latest View live