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

Is QTP suitable for banking apps?

$
0
0
I'm a tester in  a bank. Our bank wants to automate our testing processes. Our banking application written on Java language and web-based. How is your testing tool suits for banking application? Please give me some more detail about QTP.

Regards,
Khulan

Unable to switch between Tabs in Swf Application in QTP

$
0
0
I am unable to switch between tabs in Windows application(JANUS UI) using QTP(Refer Screenshot).

.png   Capture.PNG (Size: 5.93 KB / Downloads: 3)

QTP is identifying it as SwfObject.

 SwfWindow("TestWindow").SwfObject("uiTabHost")

Please suggest how I can traverse between tabs. Is there any way to work using native methods for JANUS panel tabs.

Thanks,
Vijay

Close popup ad windows

$
0
0
Is there a general code that closes any popup ads that may appear while navigating a page? Or maybe should I add a if condition? If popup object exist close it, else click on next object?

[UFT] [WPF] Verify if the cell contains an image

$
0
0
Hi,
i'm testing a WPF Application.

I have to verify if a cell contains an image and if it possibile get the image for to compare it with another image.

Is it possibile?
How?

Thanks!

Parametrization for dynamic Power Builder application

$
0
0
Hello,

I am trying to automate a powerbuilder application where individual fields are not recognized by the object spy.

 PbWindow("w_lems_login").PbDataWindow("dw_user_login").SelectCell "#1","usr_login", "username"
 PbWindow("w_lems_login").PbDataWindow("dw_user_login").SetCellData "#1","usr_pwd""password"

1. How do I parametrize the script mentioned above?  Usually, I would use select datatable.value ("ID", "globalsheet"), but in this case I am confused as to how I would mention the cell number as well.
2. When I run the same script again, it runs sometimes, but at times I get an error.  Why is this happening?

Thank you in advance!!

Synchronization using waitproperty

$
0
0
UFT is giving a warning message when I try to synchronise on an object in myFlight (UFT SAMPLE APP).

WpfWindow("HP MyFlight Sample Application").WpfButton("FIND FLIGHTS").Click
WpfWindow("HP MyFlight Sample Application").WpfTable("flightsDataGrid").SelectCell 3,1
WpfWindow("HP MyFlight Sample Application").WpfButton("SELECT FLIGHT").Click
WpfWindow("HP MyFlight Sample Application").WpfEdit("passengerName").Set "Sam Smith"
WpfWindow("HP MyFlight Sample Application").WpfButton("ORDER").Click

WpfWindow("HP MyFlight Sample Application").WpfObject("ORDER DETAILS").WaitProperty "text", "ORDER DETAILS", 10000
WpfWindow("HP MyFlight Sample Application").WpfObject("Order completed").Check CheckPoint("CheckOrder")

WpfWindow("HP MyFlight Sample Application").WpfButton("NEW SEARCH").Click

SwfTree View Validation in UFT

$
0
0
Dear All,
I am currently working on automating .net Application. I need to validate the SwfTree view( ie) After entering all the values in screen I need to verify whether "save" option is enabled and "Tree View Icon should be in Yellow Color".
So after saving the credentials i need to validate whether the tree view control is changed to Green color icon. Kindly advice me which approach / method can we adopt ?. One Important thing Save icon is not identified in Object spy whereas entire all toolrbar options are identified as "SwfCommandbar",. Please let me know which method is used in this scenario. (Note : Press method is not available)
Kinldly provide me your inputs / advice/suggestions regarding this Issue . Thanks
Regards,
Yogesh

UFT Word automation

$
0
0
Hello

I need to fill an word file dynamically
Do i need any add ins to develop the script ?

UFT recognize the word field like :

Window("Microsoft WOrd").WinObject("F3 server 0dac0000").....

or

Window("Microsoft WOrd").WinObject("F3 server 0be00000")....

Each time i open the MS Word file the WinObject is different

I don't know how to do ?

Thanks

Object identification in Polymer UI

$
0
0
Hi,

We have an application which is developed by polymer. we are not able to identify the objects properly using UFT. could you please help if you experienced earlier?

Thanks,
Karthik

Logging into Citrix

$
0
0
Hi,

Can you help to provide the solution as as to how the dynamic key RSA can be used to login into Citrix.

I used the record option and the only problem i am facing is the RSA token id is encrypted and saved , however this token id changes every time and running the script again results in failure to login as it uses the token id that was recorded earlier.

Need to Starting letter of the each word must be caps in sentence

$
0
0
Dear,

My requirement is " I want to need the first letter of the each word in sentence must be in caps without using arrays"

str = "this is the example for qtp"

UFT not recogniziing Java Objects/ Elements

$
0
0
Dear All,
We are working on Automation of Dopix Applications (based on Java Technology). Currently we are using new version of Dopix application. However with new version UFT is not identifying objects (Java Objects / Elements) whereas with old Version all objects are identified correctly.
Based on the new software version we have also modified all the files path (64-Bits) in UFT and all other technical modifications are being done. However still, UFT still not recognizing Java based objects. Kindly let me know whether it is a Technical Issue with UFT or any other work around?
Kindly let me know your Inputs regarding this issue. I have attached screenshot for reference!
With Regards,
Yogesh

UFT not recognizing Java Objects/ Elements

$
0
0
Dear All,
We are working on Automation of Dopix Applications (based on Java Technology). Currently we are using new version of Dopix application. However with new version UFT is not identifying objects (Java Objects / Elements) whereas with old Version all objects are identified correctly.
Based on the new software version we have also modified all the files path (64-Bits) in UFT and all other technical modifications are being done. However still, UFT still not recognizing Java based objects. Kindly let me know whether it is a Technical Issue with UFT or any other work around?
Kindly let me know your Inputs regarding this issue. I have attached screenshot for reference!
With Regards,
Yogesh

SwfTreeview - Color validation for child item

$
0
0

.png   Capture.2PNG.PNG (Size: 48.56 KB / Downloads: 1)
.png   Capture1.PNG (Size: 61.62 KB / Downloads: 1)

Hi All,

I have a test where in I have to validate color of SwfTree control present in the application.

For example user needs to validate the tree view control (Swftree view) for the child Item  whether it is Yellow colour(Before saving records) and after saving records it will be changed to green colour. I need to validate this both conditions.  

I tried with native objects properties like forecolor, backcolor but It does not work. 
My expectation is to get the child object color in swftreeview . Does anyproperty or any other workaround works in this case. Kindly advice some inputs or suggestions.

Attached snapshot for reference.


Thanks for your help in advance
yogesh

UFT Script running twice

$
0
0
Hi All,

I am using UFT 12.54. I have started using this software yesterday. Firstly, I wrote scripts of launching an application which worked fine. 

Next, I tried Parameterizing username and password using Datatable which also worked fine. 

Now, I am trying to read username and password from an Excel file. Excel file has only 3 rows. I am able to fetch values from the file but script runs 2 times, giving message in print log as:

User 1 Details

Username : jojo
Password : bean

User 1 Details

Username : jojo
Password : bean

I changed the Action Call Properties to "Run One iteration only", still script runs twice.

Then, I inserted a breakpoint, now it is running only once but this is not a permanent solution.

Can anyone suggest any other solution?

Regards,

Sachin

UFT 12.53 Batch Runner

$
0
0
Hello all

I am working on an windows app automation with UFT 12.53. When running a scripts individually it works fine. But when I run them in batch using the TestBatch Runner it crashes. UFT gets hung or goes into not responding state. Any pointers or any solution for this ? The app is not a store APP it's a internal App running on windows8.1. When testing manually is absolutely fine. Also I am on a machine with 6GB ram. Also no other application runs when executing batch. So please advise

Execute button of putton won't be clicke automaticly in UFT (VB)

$
0
0
Hello dear UFT members,

I am new on learning UFT and I have an error , so I hope you can help me as soon as possible

I want to launch the exe of putty then click on "Execute" button then enter login , password....

I did all but the click on the button is not working , this is the program on VB:

'Window("putty_2").WinObject("Vue d’éléments").WinList("Vue d’éléments").Activate "putty.exe"
'Window("putty_2").Dialog("Fichier ouvert - Avertissement_2").WinButton("&Exécuter").click
Window("PuTTY Configuration_2").Activate
Window("PuTTY Configuration").WinList("Saved Sessions").Select "openvm4"
Window("PuTTY Configuration").WinButton("Open").Click
Window("PuTTY").Click
Window("PuTTY").Type "User"
Window("PuTTY").Type  micReturn
wait(2)
Window("PuTTY").Type "Password"

Thanks in advance

[UFT] Change property of object (WpfButton)

$
0
0
Hi,
in my test I have a WpfButton where "enabled" property is setted to "false".

How can I change this property?

I have to try with "SetToProperty" but it not works.

Thanks for the support.

[UFT] WpfTable and WaitProperty with RowCount

$
0
0
Hi,
I'm working with a WpfTable (DataGrid).

This grid takes more time to show all rows to the user, so I would use the WaitProperty property to wait for exactly time.

The Property is:
WpfWindow("myApp").WpfTable("myGrid").WaitProperty (PropertyName, PropertyValue, timeout)

If I set "RowCount" as PropertyName, what have I to set as PropertyValue?

I can't insert a condition, for example "<> 0".

Is there another property that i can check?
Thanks.

WinList Behavior

$
0
0
We are automating a Small Talk application and trying to launch a window by clicking an item from a WinList. Unfortunately, it is not activating the item we are expected to to launch. Is there another way to know the index of the item we need to double click or activate?

Item List Count: 13
Index of item to select (zero-based index): 11
Actual index selected: 5

Code snippet:

ItemListCount = Window("window").WinList("list").GetItemsCount

For i = 0 To ItemListCount - 1
    Text = Window("window").WinList("list").GetItem(i)
    If Strcomp(Text, "Templates") = 0 Then
        Window("window").WinList("list").Activate i
        Exit For
    End if
Next
Viewing all 1793 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>