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

Application hangs

$
0
0
Hi All,

I am automating the .net application, there is one window having table "swftable" where I need to double click on any one row value which will open more window, but when I tried to do use the method "ActivateCell 0,1" the application gets hangs, but when I execute the same step manually it will work correctly.

Please help me in how to solve this issue

Thanks,
Mahantesh

QTP Updates

$
0
0
Hi All,

I want to know about QTP updates (new versions).Please let me known from any one.

Test result analysis

$
0
0
Hi All,
How to compare Actual result with expected Test Result in Automation testing using qtp and qc?[/size][/font]

Test Result

$
0
0
How to compare Actual test result with expected test result in automation testing using qtp and qc?

Test result analysis in automation testing

$
0
0
Hi All,

How to compare Actual test result with expected test result in automation testing using qtp and qc?

Test Result Analysis

$
0
0
Hi All,

How to know whether the test case is passed or fail compare with Expected result in Automation testing?

"Cannot identify object" failure only when script is checked into QC

$
0
0
I have a number of scripts that all begin by opening a window (no browser is involved). All of these scripts are in Quality Center. If I check out a script and run in, there's no problem. However, if I run the script while it's checked out, I get this error:

Cannot identify the object "[window]" (of class Window). Verify that this object's properties match an object currently displayed in your application.

Here's the line of code that triggers the error:

Code:
hWnd = Window("RegExpWndTitle:=QuickTest Professional").GetROProperty("hWnd")

Why does this fail when the script is checked in, and what can I do about it?

run by action

$
0
0
suppose i have created 4 actions with parametrization. I want to run first action first with all parameters and then second with all parameters and so on
But when i run script it runs all actions with first parameter and then second.

Please help

Retrieving data from web table

$
0
0
HI All,

I am a beginner in QTP.I need some help with webtable
I have a webtable please refer the attachment.
I want to get the train name which run on all days and having more no of availablity

In our scenario 2 trains GrandTrunk Exp and Tamil Nadu Exp run on all days
but i need GrandTrunk Exp as output since its seat availability is more.

.jpg  sample-webtable.jpg (Size: 149.01 KB / Downloads: 1)

Can't we directly compare against regexp

$
0
0
if "Document 12456 was posted" = "Document \d+ was posted" Then   Print "Yes"else    print "No"end ifthe above code shows No, can't we directly compare against regexp??? I know how to match using RegExp Object, but isn't the direct comparison possible??is there any property we need to set as True??I'm using UFT11.5.

QTP hangs

$
0
0
Hi Ankur,

I did everything to boost the performance of QTP,but QTP Hangs at certain point during script scecution.How to handle such scenario?
Can we create the Dump of QTP and trace it to find out the exact reason.
Please guide us.

Thanks and Regards,
Girish Sarode

Qtp can not identify existing script

$
0
0
pls help,
qtp has .net add in.
Windows 32 bits

Existing script
Code:
SwfWindow("Fax Manager").Activate
SwfWindow("Fax Manager").SwfListView("SwfListView_2").Select 0
SwfWindow("Fax Manager").SwfListView("SwfListView_2").DragItem 0
SwfWindow("Fax Manager").SwfTreeView("MasterFileTree").Drop 111,293

SwfWindow("Fax Manager").Activate
SwfWindow("Fax Manager").SwfListView("SwfListView_2").Select 0
SwfWindow("Fax Manager").SwfListView("SwfListView_2").DragItem 0
SwfWindow("Fax Manager").SwfTreeView("MasterFileTree").Drop 111,293
-------------------------------------------
List view is not recognised anymore Sad and getting error message object not identified

Current script
Code:
SwfWindow("Fax Manager").Activate
SwfWindow("Fax Manager").SwfObject("Thumbnails").click116.19
    
SwfWindow("Fax Manager").SwfTreeView("masterFileTree").SetFocus


Please help

Automating JavaCanvas Object

$
0
0
Hi

I'm working on QTP 11.0 with Java Addin. The AUT is java based application Terminal Operating System. Mostly all the objects are identified by qtp as standard objects. But we face difficulties in certain places like
1. an object look like grid but not recognized by qtp as standard object.
2. We have a requirement that we need to select a cell where a container will be there and drop it in another cell. QTP is not able to recognize each cell. Instead it is identifying everything as JavaObject of Canvas class. Please do let me know how to access the objects inside the javacanvas object. This is very very important for us.

Please find a screenshot attached.

Automating JavaCanvas Object

$
0
0
Hi

I'm working on QTP 11.0 with Java Addin. The AUT is java based application Terminal Operating System. Mostly all the objects are identified by qtp as standard objects. But we face difficulties in certain places like
1. an object look like grid but not recognized by qtp as standard object.
2. We have a requirement that we need to select a cell where a container will be there and drop it in another cell. QTP is not able to recognize each cell. Instead it is identifying everything as JavaObject of Canvas class. Please do let me know how to access the objects inside the javacanvas object. This is very very important for us.

Please find a screenshot attached.

.jpg  bay.jpg (Size: 225.14 KB / Downloads: 1)

Urgent help with Gmail Sending mail feature

$
0
0
Hello I am new to QTP and I am trying to open Gmail, loginto my acct and send email to someone. I am not using OR and writing script in Expertview. Script is working fine but it is not clicking on Compose even though I have tried all different properties I got from Object Spy. Please help and below is my script without my email.

Quote:'Sending myself Email
Systemutil.Run("iexplore.exe"),"www.gmail.com"
Browser("name:=Gmail").Page("title:=Gmail").WebEdit("name:=Email").Set"qualityassurance6"
Browser("name:=Gmail").Page("title:=Gmail").WebEdit("name:=Passwd").Set"autooooooooo"
Browser("name:=Gmail").Page("title:=Gmail").WebButton("name:=Sign in").Click
Browser("name:=Inbox \(11\) - qualityassurance6@gmail\.com - Gmail").Page("title:=Inbox \(11\) - qualityassurance6@gmail\.com - Gmail").Sync
Browser("name:=Inbox \(11\) - qualityassurance6@gmail\.com - Gmail").Page("title:=Inbox \(11\) - qualityassurance6@gmail\.com - Gmail").WebElement("innertext:=Compose").Click


.jpg  Error.jpg (Size: 57.05 KB / Downloads: 3)

Unable to generate Scripts using QTP11

$
0
0
Hi Sir,
Im unable to generate scripts via recording a Web application developed in .Net.I added .net addin and Web addin.Im using Windows 7 OS and mozilla firefoz 3.5 browser.Please let me if there is any way where i need to change settings.Thanks in advance

How import final calculated values by cell formula from Excel not the formula itself.

$
0
0
Hello

I am having trouble with importing text values calculated by the cell formulas in a excel sheet. Instead of the final calculated values by the formula in a cell the actual formula is being imported. Does anyone know how to solve this issue and import final calculated values by the formula in a cell from excel sheet not the formula itself. I am using the following syntax

DataTable.AddSheet ("Sheet_Name")
DataTable.ImportSheet "Excel_File_Name.xls", " Sheet_Name ", " Sheet_Name "

Your help is greatly appreciated.

How to import .xlsx file type to QTP

$
0
0
Hello

I know QTP only support .xls file type, however does anyone knows a way to import .xlsx file type into QTP. I am using the following syntax and it does not work.

DataTable.AddSheet ("Sheet_Name")
DataTable.ImportSheet "Excel_File_Name.xls", " Sheet_Name ", " Sheet_Name "

Your help is greatly appreciated.

QTP not recognizing the fancy box-item

$
0
0

.png  jpg1.png (Size: 14.83 KB / Downloads: 4)
.png  JPG2.png (Size: 10.48 KB / Downloads: 4)
.png  jpg1.png (Size: 14.83 KB / Downloads: 4)
.png  jpg1.png (Size: 14.83 KB / Downloads: 4) Dear All,

Our application login page contains the security alert message box , where the class is Fancy Box Item. While play back , qtp not able to recognize and close that security box , where after login screen will be loaded as attached in jpg1 and jpg2 . Kindly help me in resolving this..

How to check whether data exists in excel..

$
0
0
I have a excel file..



it contains data from 20 th row...

the excel file was fully jumbled...

i am writing script to validate excel..

but how can i check whether the excel file is having data or not...
if excel file is having data i need to report pass....
Viewing all 1793 articles
Browse latest View live


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