Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP not clicking on Child window button
#1
Not Solved Exclamation 
Hi I am using QTP-11, I saved all properties in the Repository.
Now I have written code for Attaching a file in the application.
1. If i click on Attach Button in my web page i will get another page.
2. In the child page if i click on Select Button Windows File Open box will be opened.

Main Problem is that QTP not clicking on 2nd page so that the Windows Open dialog box is not getting opened.

My Script:

Code:
Dim CurrentPage

Browser("xxx").Page("xxx").Frame("contents_2").WebButton("Attach").Click

This line i added for a solution but it is not working.
Set CurrentPage = Browser("AutoDCR").Window("Attachments -- Web Page").Page("Attachments")

Browser("xxx").Window("Attachments -- Web Page").Page("Attachments").WebButton("Select").Click

I Got some help in the forum to attach file in the Open dialog.

But QTP not clicking on Select Button. If i click on the select button then my script is running properly.

I am attaching the screen shot here.
Please Help me


Attached Files Image(s)
   
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Question [HELP]Button no longer works in the transaction ME21N(SAP/QTP) rafaponzio 11 10,542 12-21-2022, 06:08 PM
Last Post: Carlos Veras
  Child Object Not able to identified in Web Menu Link noor 0 1,886 01-21-2018, 04:44 PM
Last Post: noor
  Object doesn't support this property or method: 'window(...).window(...).winobject' senthil5683 1 3,719 07-04-2016, 07:08 PM
Last Post: venkatesh9032
  Not able to click the save button in Save As window while downloading from SAP kathirvelnagaraj 0 2,479 08-25-2015, 07:37 PM
Last Post: kathirvelnagaraj
  Selecting child node from Wintree object ajith123 2 5,358 02-26-2014, 02:12 AM
Last Post: supputuri

Forum Jump:


Users browsing this thread: 1 Guest(s)