How should i get name of the screen?
Ex:There is a "submit" button.If i clicked on the submit
button it opens a screen. I want that screen name.How can i
get that screen name
I dont have any property regarding that screen.
If suppose we cliked on the screen , Then QTP captures the
screen properties
then i can get the screen name by using GETROPROPERTY
But i want the screen name without clicking the screen.
("I am using the "settoproperty" for Second screen by using
fist screen properties")
Please tell me anyone
Answer Posted / nanda
is that screen is Browser or Window?
If it is Browser..
If Browser("Creationtime:=1").Exist(10)Then
g = Browser("Creationtime:=1").GetROProperty("name")
msgbox g
End If
If possible can send that screenshot of that screen to:
nanda.dreddy@gmail.com
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain how qtp identifies object?
Which advantages helping QTP to hold the position of "Market Leader" for such a long period?
What are the general steps involved in the data driven framework?
The hybrid framework can be implemented for any application. Is it true?
If object is not recognized by qtp but the object is standard object what is your approach?
What is the difference between run time object and test object?
I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?
Explain the differences between table and db checkpoints?
How to delete an object from the object repository?
I used the below code to open QTP through VBscript?But i can unable to Invoke QTP...PLZ help me with the correct code to invoke QTP through VBS with description of the code aswell. Dim qtApp 'As QuickTest.Application 'Declare the Application object variable Dim qtTest 'As QuickTest.Test 'Declare a Test object variable Dim qtResultsOpt 'Declare a Run Results Options object variable Set qtApp = CreateObject("QuickTest.Application") 'Create the Application object qtApp.Launch 'Start QuickTest qtApp.Visible = False 'Make the QuickTest application visible qtApp.Open "C:\form", True 'Open the test in read-only mode 'set run settings for the test Set qtTest = qtApp.Test qtTest.Run 'Run the test 'WScript.StdOut.Write "Status is: " & qtTest.LastRunResults.Status 'Check the results of the test run qtTest.Close 'Close the test qtApp.quit 'Close QuickTest Pro Set qtResultsOpt = Nothing 'Release the Run Results Options object Set qtTest = Nothing 'Release the Test object Set qtApp = Nothing 'Release the Application object
Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?
Hi All, issue is related to handling pop up script generated in IE, and run on mozilla. In App Under Test, when we get the alert pop ups, we just click ok button. if we need to run the same code on mozilla it will not identify . so we will check browser if browser(*).dialog(IE object).exits browser(*).dialog(IE object).winbutton(OK).click else 'by default mozilla browser(*).dialog(mozilla object).page(*).webbutton(OK).CLICK END IF But my qustion is. Do we write the above piece of code where ever we get such kind of pop ups from the application like alert pop up, confirmation pop up.... OR do we have any other alternative way to do this by using any functions in Recovery Scebarios? If Any of u know idea please do help me in this regard. or send answer to kravimb@gmail.com
www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example
Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji
whow much strong on VB and C?