Support > Forums > OpenBots Studio > Unable to identify the element

Unable to identify the element

Lakshman Duggineni

  • Reporter
  • Calender Icon August 26,2021 at 5:13 AM

Currently, I'm using openbots studio v1.6.0 I'm trying to automate the windows application. the application has two text boxes. I try to enter text in the first text box this error comes. Exception Type: InvalidOperationException, Exception Message: target element cannot receive focus.

This forum has 314 topics, 681 replies, and was last updated 7 days ago by Support Agent

Abhay Gautam

  • Participant
  • Calender Icon September 02,2021 at 9:45 AM

Hi Lakshman, As suggested, please try changing index or different tree values and then try Validator to see if correct element is selected. Please let us know in case of any issues.

Lakshman Duggineni

  • Participant
  • Calender Icon September 01,2021 at 4:25 AM

Hi Gautam, Thanks for the response. Please find the screenshot URL for the selectors. https://snipboard.io/UApKGI.jpg Thanks, Lakshman.

Lakshman Duggineni

  • Participant
  • Calender Icon August 31,2021 at 2:01 PM

Thanks for the response @Gautam. Please find the Screenshot URLs for hostname and username attribute selectors. https://snipboard.io/DfnZgo.jpg https://snipboard.io/Hm3yJj.jpg https://snipboard.io/ocIRLa.jpg

Lakshman Duggineni

  • Participant
  • Calender Icon August 31,2021 at 12:32 PM

Thanks for the response @Gautam. Please find the screenshot image URLs for the attribute selectors.
<img src="https://snipboard.io/DfnZgo.jpg https://snipboard.io/Hm3yJj.jpg https://snipboard.io/ocIRLa.jpg" alt="attribute selectors screenshot urls" />

Lakshman Duggineni

  • Participant
  • Calender Icon August 31,2021 at 12:21 PM

Thanks for the response @Gautam Please find the screenshot URLs for attribute selectors. https://snipboard.io/DfnZgo.jpg - hostname https://snipboard.io/Hm3yJj.jpg - username https://snipboard.io/ocIRLa.jpg - attribute selectors for both

Lakshman Duggineni

  • Participant
  • Calender Icon August 31,2021 at 11:35 AM

Hi Gautam, Thanks for the response. Please find the screenshot URLs for Hostname and Username attribute selectors. https://snipboard.io/DfnZgo.jpg https://snipboard.io/Hm3yJj.jpg https://snipboard.io/ocIRLa.jpg - (Hostname and Username attribute selectors) Thanks, Lakshman.

Lakshman Duggineni

  • Participant
  • Calender Icon August 31,2021 at 11:11 AM

Hi Gautam, Thanks for the response. These are the screenshot URLs for Hostname and Username text box attributes (selectors). https://snipboard.io/DfnZgo.jpg (Hostname) https://snipboard.io/Hm3yJj.jpg (Username) https://snipboard.io/ocIRLa.jpg (Selectors (attributes) for both) Thanks, Lakshman.

Abhay Gautam

  • Participant
  • Calender Icon August 30,2021 at 5:21 PM

Hi Lakshman, Can you please share the screenshot for the selectors which you are getting so that we can have a look into it.

Thanks, Abhay Gautam

Lakshman Duggineni

  • Participant
  • Calender Icon August 30,2021 at 5:33 AM

The windows application has two textboxes (Hostname and user name). The two text boxes have the same attributes(Type: edit, Class: TEdit). The element name attribute is not there for these text boxes. I am trying to enter data into a first text box, that data is entered into the second text box. How do I enter the data into the first text box? Please help with this. Thanks in advance.

You are not authorized to reply, please click here to login and add your reply to this topic.