How to get page name or title from browser in QTP?
GetROproperty() is used to get page name or title from browser in QTP.Sample Code: Dim pageName pageName = Browser("Browser").Page("micclass:=Page").GetROproperty( "title" )
GetROproperty() is used to get page name or title from browser in QTP.Sample Code: Dim pageName pageName = Browser("Browser").Page("micclass:=Page").GetROproperty( "title" )
vbNewLine is used to insert new line in QTP.Sample Code: Dim msg msg = "Testing1" & vbNewLine & "Testing2"
Sample Code:Dim myArray, arraySize myArray = Array("Test", "Test1") arraySize = ubound(myArray) + 1 Note: Ubound returns the last index in array - so size of array will be +1.
Sample Code:Dim rowcount for i=1 to rowcount Datatable.SetCurrentRow(i) '--- Code here Next
1. Highlight the lines you want to comment.2. Press CTRL + m 3. To uncomment, press CTRL + SHIFT + m.
1. Go to File --> New --> Test.. 2. Click "Create". 3. Go to Record --> Record And Run Settings... 4. Click "Ok". 5. Go to Record --> Record. 6. ....
Both QTP and SELENIUM are good testing tools.What tool should be used depends upon the software we are going to test. QTP SELENIUM License Paid Open Source Coding Less More ....
1. Go to http://www8.hp.com/in/en/software-solutions/unified-functional-automated-testing/.2. Click "Download" or "Download Now". (Or) 3. Enter your information and click "Continue" button. 4. Read the terms and conditions and click "I Agree". 5. Use download ....