Type Into Failed

Hi to all…
I have a very strange problem, with a trivial Type Into.
I’m working on ServiceNow.
First of all, I point out that, to register the “click”, I have to go through Active Accessibility, otherwise it won’t hook the cell, but the whole page.
image
I built the Selector anyway.


If I isolate this operation, and run it, it works, first time.
If I run it the second time, it fails.

This is the mistake, and I wasted half a day without stepping forward. Does anyone know what it is and if there is a solution?
Thanks…
Aaron

@AaronMark

Can you check the properties of the TypeInto, try with Send Windows Message / Stimulate enabled or disabled and try

Thanks,
Srini

Thank you for your suggestion.
It doesn’t seem to work.
I noticed that if you reopen the Type Into properties, the selector is no longer valid. Yet it is identical … it seems to me

@AaronMark

Can you try Set Text activity?

Thanks,
Srini

Identical.

@AaronMark

Are you getting the same error?

Thanks,
Srini

Hi @AaronMark ,

You can remove the class and updated the title with wildcards.

Also check if there are iframe in the html ,if there are any add it to selector

I did some tests… but I don’t understand what has changed. The selector is the same, identical, but now it works.
I rebuilt the selector. (for the twentieth time!! :|) … practically always the same… and I don’t understand why it works now.
But I did this:

  • added a maximize windows just before (although it doesn’t make sense)
  • tried the activity with SET TEXT, and it worked.
  • copied the SET TEXT selector, in the Type Into, and now both ways work.

Does anyone have an idea what could depend on, considering that the selector is the same!?!
After 5 hours of trying, it doesn’t make sense that it now works without apparently having made any changes.

The role of PO Number field has changed. Check if the role changes when you click on the field

I did a check solution on your suggestion, because it’s the key one indeed.
The selector changes before clicking on the cell and after clicking on the cell!! That’s why it didn’t work.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.