while recording a keyword test in Mapped objects i see that three different browsers are created
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
while recording a keyword test in Mapped objects i see that three different browsers are created
hi
i have intially recorded in a environment A and i see that the Mapped objects had created a hierarchy of Sys -> Browser.
i had set the URL as Project variable and was switching to see if the test cases recorded were getting executed successfully in Environment B.
but some Text Properties were not getting identified in any environemnts so i tried to recapture the objects in Environment A, but i see that now the mapped objects are getting created under Sys -> Broswer2.
Can someone help me with where or what i am doing wrong.
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes... you need to edit your NameMapping for the page URL to be wildcarded.
For example, let's say I have two web enironments
http://testEnvOne.mysite.com/myPage
http://testEnvTwo.mysite.com/myPage
Recording on the first one will map using that URL. Go in to NameMapping, edit the page, and replace the URL with
http://testEnv*.mysite.com/myPage
That will have the page mapping find the same page regardless of environment.
Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
IF you're going to use the project variable, set the variable to the URL, not to the asterisk. Asterisk is for wild-carding a string.
Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Thank you Martin
Have done the same i.e set the wild card to the Browser URL and its is stcking to the same browser ,
but now i see that the different page versions are created in the Mapped Objetcs
like
Page WelcomeToAEGISNExtgen
Page WelcomeToAEGISNExtgen2
Page WelcomeToAEGISNExtgen3
and so on for each record
is there a way that i can stick to "Page WelcomeToAEGISNExtgen" only.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You're going to need to remove any mappings that are duplications. The wildcard should correct the problem moving forward but you still need to clean up your existing mapping.
Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.
Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Martin... that helped a lot!!
