Revisit Instance to Instance Testing
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Revisit Instance to Instance Testing
I currently an setting the instance (URL) at the project level and It works as expected. Our user community does not want to reset the instance for each project every time it is tested. There is a methodology for using wild cards (Mapping) in the URL and I have not quite figured it out. Any insights would be greatly appreciated.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here's a short video
https://support.smartbear.com/testcomplete/videos/using-the-wildcard-in-the-name-map/
Here's a reference page
https://support.smartbear.com/testcomplete/docs/reference/misc/using-wildcards.html#InNameMapping
Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The video is great for dynamic ids within links. Thank you so much for sharing. I have not figured that out for changing from instance to instance (url)
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Give us a screenshot of where you are trying to set this up and we can probably help.
Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I ran the test in one instance and I have a very simple login script.
In QAT5 it works fine and then can not find this object in another instance....QAT1
Unable to find the following object when executing the SetText command: Aliases.browser.pagePersLogIn.sectionPanelColumnHalf.textboxUserId |
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The highlighted object is the one that needs an alias and I can not figure it out our getting it to work.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Okay, but where is that object in the Name Mapping? That's where a alias will be set up.
Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I posted that realizing the solution was close as I came to the conclusion there was a new object name being generated each time. I wild cared the URL string and I am testing right now. I believe I may have it figured out. It is funny how we work (in isolation), as you forced me to work they way that works for me. As soon as I talked out the problem the solution was pretty clear.
