TESTEVERYTHING

POST YOUR QUERIES

Here you can post your queries related to QTP /Automation.
We will try our best from our side.

22 comments:

Anonymous said...

Hi

I have one web Table. in that web table 3 row, 4 column which object is available i don't
know, How can we get particular object( like webCheckbox, webEdit,webLink,webElement etc)

Thanks in advance...
Rajashekar

TestEverything said...

Hi Rajashekar,

Thanks for reading the blog
Read QTP help file for webtable
refer this link
http://testeverythingqtp.blogspot.com/2011/07/get-column-names-of-webtable-using-qtp.html

Anonymous said...

hello! I am using QTP11 and I am creating scripts to automate an application base on google chrome. the issue is that qtp11 when working with object spy it will return in the object hierarchy as windows -> winobject. we all know that this is not the correct object. it should be browser->page->webelements. do you have any idea how to solve this issue in qtp11. to get the correct objects in google chrome? thanks!

Unknown said...

Hi Guys !!!

I need your help urgently. I am working on VB.net project for time card.
I am taking the different time values from datatable for punching in to the time card page automatically. But I need to verify that the punches I am entering through QTP is perfectly same on the different page of the same module.


Can Anyone guide me please to solve this problem?


Thanks
Tapan

Anonymous said...

Hi,

Is there a way to disable or enable devices in QTP

In my case, i need to disable Finger Print Reader using QTP script.

Any Ideas??

Anonymous said...

Hi Rajiv,

I found your blog very informative. Thanks for sharing your knowledge.
I am in need of a help from you...

Through QTP VB script, can we put a breakpoint on a particular line when the script is running?
My scenario is that, I need human intervention in the middle of my script. The person who is running the script may not remember to put the breakpoint. So I was searching for a code which will automatically put a breakpoint at that line.
I am looking for a code for
1. Pressing Ctrl+G
2. Entering the line number
3. Pressing F9
I tried the below code. But it did not open the dialog box to enter the line number.
Dim WshShell
set WshShell = CreateObject("WScript.Shell")
WshShell.SendKeys "^G"
Can you please help me for the code?
Thanks..

Anonymous said...

We are testing a web application using IE9. We found that QTP sees objects properties differently in quirks mode as compared to strict mode. I there a way to determine programatically the browser document mode?

amit said...

my query is How to retrieve objects(get control on objects) from a WPFGrid control in qtp. when spying, qtp is identifing only the WPFGrid and note the objects inside it. pls suggest workaround for this

WpfWindow("title").WpfTable("title").

Inside the wpftable there are four columns and some rows. first column contains chechboxes. i want to check/uncheck that. anything inside the wpftable are not recognized by object spy

amit said...

HI, Pls let us know if you have answer for above question related to wpftable

Anonymous said...

Please check web server plugin from the plugin options and use the object spy again

Unknown said...

Hi

I am having an issue with object identification while running the QTp script.

I am able to identify the objects of an .Net application available in two different environments (ex: Smoke and UAT) using the Object Repository Manager. Whereas, when I run the script (launch the application and activate the swfwindow object), QTP fails to identify the object.

Script runs correctly for Smoke, but not for UAT (Note: I am able to identify the object using the OR Manager)

Unknown said...

Hi All,
I have asp.net Gridview for country list which gets populated after user clicks on search button(according to text entered in filter textbox).
I need to check whether application searches countries correctly or not by using QTP.Inshort how to test searcing in asp.net website using QTP?
I am new to QTP.. :)

Unknown said...

Hi Rajiv or Anyone,

Could anyone please reply to my query??

Its very urgent!!!!

Regards
RR

TestEverything said...

Please make sure you have .net addin in QTP

Unknown said...

Hi All...Kindly help me if you have any idea regarding this...I am still unable to get any solution/approach for it..Thanks.

Unknown said...

.net addin is selected, I am able to run the script on particular environment.

I am able to identify the objects of an .Net application available in two different environments (ex: Smoke and UAT) using the Object Repository Manager. Whereas, when I run the script (launch the application and activate the swfwindow object), QTP fails to identify the object.

Script runs correctly for Smoke, but not for UAT (Note: I am able to identify the object using the OR Manager)

Unknown said...

In QTP I am creating an object by adding code

dim oIE
set oIE = createObject("InternetExplorer.Application")
oIE.visible = true
:
all the same
:

but its not working
its showing me 'General error' while running.


when I edit the code to

Dim oIE As Object : its showed me Run time error
:
same
:


I am using IE 8.0
QTP 9.5

Harbans Verma said...

HELLO SIR
I AM USING STANDARD CHECK POINT THERE IS PROBLEM COMING CANNOT IDENTIFY THE WINDOW PLS HELP

Anonymous said...

I have 2 functions as below
Public Function GetROProperty ( sClassName, sPropertyType, sPropertyValue, sROProperty )
GetROProperty = EditCollection(0).GetROProperty(sROProperty)
End Function
and
Public Function ValidateObjectonScreen (sPropertyType, sPropertyValue, sROProperty, objValue )
sGetROProperty = EditCollection(0).GetROProperty(sROProperty)

If sGetROProperty <> objValue Then
Reporter.ReportEvent micFail, sPropertyValue, " " & objValue & " does not match"
End If
End Function
Compare the performance of both the functions in terms of lines of code and execution speed

Unknown said...

Hi ,
I am adding objects of peoplesoft application through qtp, when i was adding the objects they are coming under the Browser -> Page -> Frame hierarchy, so when i add some objects now, it comes under normal Frame, when I add same objects in the next time after re-logging, it was coming under different frames i.e, PSFrame. At that time If I run my scripts it was not able to identify because of the frame change. How to solve this?????? Please help....Thanks in Advance.

Anonymous said...

Hi I am unable to connect teradata with QTP. Can someone please help me and provide me with the script for connecting teradata with QTP.
Please sned the script on er.neeaj258@gmail.com

Anonymous said...

Hi,
remove the all frame properties in OR like name etc

Post a Comment

Which one is right ?

Translate







Tweet