This site requires JavaScript to be enabled
IE BUMPER

Tosca Version
IncidentLookup using list
Language
Your Question
  Help
IE BUMPER
Tosca Version
Results per page
Categories
Boolean Operators
OR or vertical bar symbol (|)
Finds a match if either the terms exist in a document (a union using sets).
AND
Finds a match if both terms exist in a document (an intersection of sets).
NOT, minus (-), or exclamation point (!)
Excludes documents that contain the term after NOT (a difference of sets).
Wildcards
Asterisk (*)
The asterisk symbol performs a multi character wildcard search.
Percent sign (%)
The percent sign performs a single character wildcard search.
Phrases
Quotation marks (")
Use quotation marks to search for an exact phrase with multiple terms.
For examples and more information look at our Knowledge Base: Advanced Search On The Support Portal

TBox Control Steering

Hi Tosca experts, 

Please advise me on how to steer a control when controls are not uniquely identified by  tosca xcan, specially when the id's are generated dynamically. I tried following the link below but it seems not enough. 

Thanks in advance!

https://documentation.tricentis.com/en/801/content/articles/tbox_best_practices.htm

 

Regards,

Pelaez

 

11 0

Rahul S S

Created: 2016-09-29 12:34:12

Hi Pelaez,

Since you already mentioned that you have gone through the TBox Best practices article, I will talk about generic scenario(s) which can be used irrespective of control types, to identify them uniquely when you are not able to zero in on a stable/static property (or a combination of properties) for the object.

There is an option called "Identify by Anchor" in TOSCA XScan. What this does is, it helps you to identify a control (for which an unique identification criteria is not available) by tagging it with an anchor control which has a uniquely identifiable property. This is the second best way to identify and steer a control in TBox next to "Identify by Properties".

 

How to use this option:

1. Scan the screen where the test object (control) to be steered is present, using XScan

2. Select the "Identify by Anchor" option from the XSCan window

3. Select the control to be steered (on the right side of the XScan window you must see a smaller window called Anchor Control)

4. Select the anchor control (which should be uniquely identified) and drag and drop it to the Anchor Control window

After following these steps you must be able to uniquely identify the target control.

Also, I noticed that in your question, you talk about dynamic technical ids. Have you considered using wild cards for the dynamic part of the id to see whether it make the property unique, thus enabling unique identification for the control ?

Let us know how things work out after you have tried out these suggestions.

PS: Like "Identify by Anchor", there are other options in XScan like "Identify by Image" & "Identify by Index". However, these are not very stable and should be used only as a last resort. If you ask me, I would say, never use them!

Best Regards,

Rahul

0 0

Pelaez Macarambon

Created: 2016-09-29 15:48:32

Hi Rahul, 

Thanks for the reply.  I tried following your instructions but still could not locate/click some buttons. It would simply just move the mouse cursor beside the button(close enough though :) ).

Any other idea? by the way im using Microsoft Dynamics application  as my test object. 

Thanks,

Pelaez

 

0 0

Pelaez Macarambon

Created: 2016-09-29 15:48:34

Hi Rahul, 

Thanks for the reply.  I tried following your instructions but still could not locate/click some buttons. It would simply just move the mouse cursor beside the button(close enough though :) ).

Any other idea? by the way im using Microsoft Dynamics application  as my test object. 

Thanks,

Pelaez

 

3 0

Douglas Voon

Created: 2016-09-30 03:12:30

Hi Pelaez, I have encountered similar issues with unique IDs and the following methods have worked well in my situation...

  1. Locate and select the control/object line from within the xscan window and then drag the detail slider all the way to the right. This exposes much more of the heirarchical structure (such as DIV conatiners). I have often been able to find a container DIV that has a stable (non dynamic) ID...once this is selected then the child object often becomes unique.
  2. Replacing the dynamic number with a wildcard (*) also works some of the time but not always.
  3. I have tried the anchor method before but to date have not had success.
  4. Regarding the {Click} location being misplaced you can always adjust the click zone by adding percentages for example {Click[95%][50%]} willl move the curser 95% toward the right side of the container/control and vertically in the middle. Think {Click[<horizontal left to right percentage>][<vertical down to up percentage]}. You may want to double check I've got this the right way around. I used this recently and (from memory) it accepted 150% to the right!!

Good luck:-)

5 0

Rahul S S

Created: 2016-09-30 07:50:20

Hi Pelaez,

If anchoring doesn't work, then please try out the options suggested by Douglas. Option 1 and Option 4 mentioned in his soultion have really high chances of working. In case, if you are still not able to hook on to and steer the control, let us know whether it is possible for us to look into your application.

Best Regards,

Rahul

Pelaez Macarambon

2016-09-30 10:57:57

Hi Rahul, 

Perhaps if you have any free time you can look into the application that im working with. 

Thanks,

Pelaez

0 0

Pelaez Macarambon

Created: 2016-09-30 10:10:32

Hi Douglas, Rahul,

Thank you so much for taking both of your time looking into this. I tried Option 1 but unfortunately DIV id's are also generated dynamically.

@Rahul, you are welcome to look into our application via skype shared screen?

Thanks in advance. 

Regards,

Pelaez

Lev Kushnir

2016-09-30 08:45:35 , Updates: 1, Last Update: 2016-09-30 08:46:17

HI Pelaez,

This KB can be also useful for you https://support.tricentis.com/community/article.do?number=KB0012591

This article provides you with the best practice how to steer dynamic ID's in SAP Web Interface, such as SAP Netweaver, SAP Business Client and SAP FIORI

Regards,
Lev

Pelaez Macarambon

2016-09-30 08:58:13

Hi Lev, 

 

Thanks for the advice. I tried looking into it but still i could not steer the controls properly. My test application is microsoft  dynamics nav web client. 

 

Regards,

Pelaez

Rahul S S

2016-09-30 13:20:11

Hi Pelaez,

Great, I see that the issue is solved now. If you are still looking for alternate solutions, please let me know and we can screen share over skype to discuss about this.

My contact info:

E-mail: rahul89ss@gmail.com

Skype id: rahul.ss

Best Regards,

Rahul

0 0

Michael Nicolai-Deutschmann

Created: 2016-09-30 10:41:41

Hi Pelaez,

if the mouse click is a little off the target, please check if you have set the zoom factor in the browser to 100%.

 

Regards,

Michael

 

0 0

Pelaez Macarambon

Created: 2016-09-30 10:53:29

Hi Michael, 

Yes, the zoom in the browswer is set to 100%. 

Thanks for looking into it. 

 

Regards,

Pelaez

5 0

Hugo Feldhammer

Created: 2016-09-30 12:24:18

Another zoom hint: Also windows desktop zoom should be at 100%.

To check this setting, type "Display" in your start menu - see screenshot for correct setting.

Attachments
0 0

Pelaez Macarambon

Created: 2016-09-30 12:45:12

Hi Hugo, 

Thanks a lot. It works! I will still try to figure it out regarding dynamic id's in steering controls. 

Regards,

Pelaez

0 0

Renaud Saint Laurent

Created: 2016-12-21 14:05:51

hi Pelaez did you succeed with microsoft nav dynamics

as i have an application build on this techno so any tips are welcome

0 0

Renaud Saint Laurent

Created: 2016-12-21 14:05:51

hi Pelaez did you succeed with microsoft nav dynamics

as i have an application build on this techno so any tips are welcome

IE BUMPER

Tosca is the perfect solution

Optimize - Manage - Automate

Download Trial