Jump to content
Sign in to follow this  
Aniruddh0704

We are not able to click button inside table ; Unable to I identify indivisible row col present inside table - (Moved)

Recommended Posts

Hello Team ,

I am facing issue to identify button present inside table and we are not able to perform action on it , but we are able to click button with mouse point location.

 

Team , could anyone provide solution for permanent fix because location of button may vary on day to day.

 

Please provide solution as soon as possible.

 

Thanks 

Share this post


Link to post
Share on other sites

@Aniruddh0704 you simply have to provide more information; no one here is a mind reader.

  • What application are you trying to automate?
  • What have you tried on your own?
  • What does the AutoIt Window Info Tool (in the same directory where you installed AutoIt) show about the button you try to automate?

Help us help you ;)

 


"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Share this post


Link to post
Share on other sites

Hello JLogan ,

 

Please find below details 

  • What application are you trying to automate?: We are trying to automate windows based application 
  • What have you tried on your own? : Please find screen shot in attachment, Solution.PNG
  • What does the AutoIt Window Info Tool (in the same directory where you installed AutoIt) show about the button you try to automate?

 

>>>> Window <<<<

Title: Route

Class: WindowsForms10.Window.8.app.0.2ca5f28_r29_ad1

Position: 182, 46

Size: 1000, 632

Style: 0x16CA0000

ExStyle: 0x00050101

Handle: 0x00000000000902EC

 

>>>> Control <<<<

Class: WindowsForms10.Window.8.app.0.2ca5f28_r29_ad1

Instance: 16

ClassnameNN: WindowsForms10.Window.8.app.0.2ca5f28_r29_ad116

Name: dvRoute

Advanced (Class): [NAME:dvRoute]

ID: 591210

Text:

Position: 14, 220

Size: 977, 291

ControlClick Coords: 725, 72

Style: 0x56010000

ExStyle: 0x00000000

Handle: 0x000000000009056A

 

>>>> Mouse <<<<

Position: 924, 360

Cursor ID: 0

Color: 0x000000

 

>>>> StatusBar <<<<

 

>>>> ToolsBar <<<<

 

>>>> Visible Text <<<<

91023

Route ID:

MenuStrip1

Thu, 16 Aug 2018

Sunday, August 12, 2018 - Saturday, August 18, 2018

Select a Week:

Route Detail

 

 

>>>> Hidden Text <<<<

Finalize Route

Sun, 12 Aug 2018

Mon, 13 Aug 2018

Tue, 14 Aug 2018

Wed, 15 Aug 2018

Fri, 17 Aug 2018

Sat, 18 Aug 2018StartButton.PNG.9e9bd882f8866846af3d70024169d8b2.PNG

 

Please find screen shot of table in attachment , We are trying to click on Start Button :

solution.PNG

Share this post


Link to post
Share on other sites

Fyi, when you specify text in controlclick, that's only used to help identify the control.   controlclick will always click on the center of the control unless you specify x y coords.  that being said, that control is probably going to be hard to automate out of the box with autoit...try iui udf.  someone will probably come in and link it.


IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...