[UFT] Get column name from SfwObject
Hi, I have this item in my application: Code: SwfWindow("myApp").SwfWindow("RawData.csv").SwfObject("RawData.csv") It's is a grid, I would like to iterate the columns name. Which is the better way? I...
View ArticleHow To use iterations for API
Hi All, I am fairly new to UFT and I am looking for some advice. Currently I have a API Test which contains several GUI Tests, currently I have the API running two iterations which works correctly but...
View ArticleUnable to get properties of JavaObject in contextual menu
Hello, I am trying to check the property of JavaObject in contextual menu of javaTree. I cant put standard checkpoint in contextual menu. I am comparing value of a Javaobjects in contextual menu but...
View ArticleSwfTable and RowCount: Unspecified Error
Hi, until days ago, I use this sample function: Code: rw = SwfWindow("myApplications").SwfTable("dataGridView1").RowCount for to get the num of rows in this dataGrid. Today, I launch it and I get...
View ArticleSwfToolbar and WaitProperty: how get text
Hi, I have a SwfToolbar. I would use the WaitProperty for execute an action when the text into changes. I use Code: SwfToolbar("statusStrip").WaitProperty "text", strToFind, 2500000 but not works. With...
View ArticleHow QTP record/play works on google chrome
Hi I am struggling to find the way how QTP record/play works on google chrome. I am trying to install add in by seeing the video but no luck.Can anyone help me on this.
View ArticleDB2 Connect connection with IE 11
I am first timer. I have this code to connect to an IBM mainframe via DB2 Connect. It worked with UFT 11.53 and EI 10, I tested with IE 11 and it failed at objConnection.Open strCon. I upgraded to...
View ArticleHow to get rid of this error in QTP?
I am new to QTP and trying to resolve the error. I have used the dynamic method of Descriptive programming. When running the below code I get this error: "The "[ WebButton ]" object's description...
View ArticleSwfList: unchecked all items
Hi, I have this SwfComboBox whin in SwfList (checkbox + label): I would unchecked or deselect all items of SfwList. I try with this code: Code: listItemCount = SwfWindow("Task...
View ArticleStrange Behaviour of SwfTable
Hi to all, in past days, I did automated test on a SwtTable. For this object I used standard funciont as RowCount, ColumnCount, ActivateCell or GetCellData. Today all these functions not work. I had to...
View ArticleHow to set a value if webEdit control is disabled?
very new to any forum including this forum. unable to find source where i can put my question. sorry, if this is not suitable place to put question seeking help for:- how to set a value if webEdit...
View Article[UFT] Connection String for Oracle
Hi, i'm using SQL Developer for to connect to the database. I have this parameters: - username - password - hostname - port - SID In VBScript, which is the connection string correct? I tried more...
View ArticleCanvas Automation (HTML5)
Hi, I am trying to automate a web app that is using Canvas (HTML5) to display a table with contents in it. I need to perform 2 activity: click on a specific element fetch the data from the Canvas...
View ArticleIntermitent "Object not visible" error
Hi All, I have a problem with clicking a type "WebElement" object in a webpage on Google Chrome Version 47.0.2526.106 m with the HP Unified Functional Testing Agent installed. It is the "Last" button...
View ArticleDataTable - Reuseable Actions
I am using reuseable object and the datatable is readonly / locked, I can not change the data. I am saving the transaction to my local machine and making changes and then using "Call to Existing...
View Article[UFT] Len of DIV founded by ClassName
Hi, I'm testing a web application. In Firebug of Firefox, with this code I have to check the num of div with my className: Code: $(document).ready(function() { alert( $('.blockPage').length ); }); It...
View ArticleDescriptive PROGRAMMING
Hi All, I was writing a function to take create objects using descriptive programming. I donno where i went wrong, but the object is not getting returned correctly.. Below is the code.. ANyone please...
View Article[UFT] Get text into DIV through HTML tag
Hi, I have this element. I would like to take the text into WebElement object so i wrote: Code: txt = Browser("YA Web").Page("YA Web").WebElement("html tag:=CAPTION").GetROProperty("innerText") I...
View ArticleRunning UFT scripts on a remote machine with no UFT installed on the Remote...
I have a requirement and it goes like this. I have UFT installed on my system and there is a Remote Machine with no UFT. I want to run the UFT scripts written for a SAP GUI on my local system's UFT but...
View ArticleUnable to recognize objects in SilverLight application through QTP
Hi All, I am automating silverlight application. I am unable to get the unique properties of objects in SilverLight application. When I spy for an object on silverlight object, Hierarchy of the...
View Article