QTP Forum

Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
Keywords

Who is online?
In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest

None

[ View the whole list ]


Most users ever online was 21 on Sat Apr 07, 2018 11:39 am
RSS feeds


Yahoo! 
MSN 
AOL 
Netvibes 
Bloglines 


How to identify the object when it is dynamically changing behavior

Wed Jun 18, 2014 6:37 pm by thomasdfg

Use GetRoProperty of the object and assigned it to an variable and use the variable in the place of the set value in the case of webedit

Comments: 0

Patches for QTP 10, 11, 11.5

Wed Jun 18, 2014 6:04 pm by thomasdfg

You can download required patches from the website LearnQTP on the home page itself there is link to navigate patches section of QTP or else due to my login considerations i will update the exact URL of the patches in span of 7 days

Comments: 0

Retrieving data from Txt file into datatable

Wed Jun 18, 2014 5:32 pm by thomasdfg

Code:
Public Function ReadLineTextFile (strTextFile)
Dim fso, MyFile
Dim arrPairs, arrColumns, i
Set fso = CreateObject("Scripting.FileSystemObject")
  ' Open the file for reading only
  Set MyFile = fso.OpenTextFile(strTextFile, 1)
  ' Read the input file
  ReadLineTextFile = MyFile.ReadLine
  ' Load the Global DataSheet.
  arrPairs = Split(ReadLineTextFile, …


[ Full reading ]

Comments: 0

VB Script to count number of links in a web page.

Wed Jun 18, 2014 4:51 pm by thomasdfg

Code:
Set Des_Obj = Description.Create
Des_Obj("micclass").Value = "Link"
Set link_col = Browser("name:=Google").Page("title:=Google").ChildObjects(Des_Obj)
msgbox link_col.count


Comments: 0

Customized HTML reports in QTP

Wed Jun 18, 2014 4:42 pm by thomasdfg

instead of using the script try this registry tweak
HKEY_LOCAL_MACHINE\Software\Mercury Interactive\QuickTest Professional\Logger\Media\Log and modify Active DWORD from 0 to 1 This will create a folder with name log it will save a html file for the report. This will save ur time

Comments: 0

When UFT Does Not Identify an Object

Wed Jun 18, 2014 4:23 pm by thomasdfg

1. I have repeated this many times in the past and it is still remains the #1 object identification tip. While testing on any app, make sure QTP is opened first and then your application. QTP works by hooking into your application. If you open QTP after your application has started there are chances that QTP may not be able to identify objects.

2. Make sure you have loaded ALL the relevant …

[ Full reading ]

Comments: 0

how to add object repositories to qtp through scripting

Wed Jun 18, 2014 4:16 pm by thomasdfg

Code:
Dim qtApp
Set qtApp = CreateObject("QuickTest.Application")
qtApp.Test.Actions(1).ObjectRepositories.Add "C:\Repository1.tsr"


Comments: 0

Capturing Screen Shot and to Display in Qtp Results

Wed Jun 18, 2014 4:08 pm by thomasdfg

you should start with following code
Code:
RegisterUserFunc "Page", "CaptureScreenshot", "CaptureScreenshot"
RegisterUserFunc "Browser", "CaptureScreenshot", "CaptureScreenshot"
RegisterUserFunc "Frame", "CaptureScreenshot", "CaptureScreenshot"
RegisterUserFunc "Dialog", "CaptureScreenshot", …


[ Full reading ]

Comments: 0

QTP crashes when script is run or for any reason

Wed Apr 16, 2014 8:09 am by Gajre

You have few options to try:

1. Uncheck the 'Save movie to results' option under Tools>Options>Run:Screen Capture, in case it is checked. This may be one quick reason.


2. Check for addin issues:
Disable all addins (one by one) and check if issue caused by any particular addin
ActiveX addin is known to cause such issues
In such case some registry keys need to be reset
 
3. If that does …

[ Full reading ]

Comments: 0

Social bookmarking

Social bookmarking digg  Social bookmarking delicious  Social bookmarking reddit  Social bookmarking stumbleupon  Social bookmarking slashdot  Social bookmarking yahoo  Social bookmarking google  Social bookmarking blogmarks  Social bookmarking live      

Bookmark and share the address of QTP Forum on your social bookmarking website

June 2019
MonTueWedThuFriSatSun
     12
3456789
10111213141516
17181920212223
24252627282930

Calendar Calendar

Affiliates
free forum

Shopmotion


QTP and QC forum - Portal Empty
Statistics
We have 56 registered users
The newest registered user is aksavithasree

Our users have posted a total of 62 messages in 39 subjects