pse
7 months agoOccasional Contributor
Get mapped object based on Alias string?
Hi, I am trying to create a python function that allows me to find a mapped object based on the MappedName string. Here is my function currently: def wait_for_mapping_object_to_exist(mapping): a...
- 7 months ago
I can't seem to post an image because "Too Many Uploaded Images. You have reached your upload limit of 1,000 images." !
For example, I have the following hierarchy in my Mapped Objects -
NameMapping.Sys.browser.pageSmartbearSwagShop.panelPagecontainer.panelShopifySectionFeaturedColle.panelFeaturedItems.panelGoBearGetGoingHoodie.linkGoBearGetGoingHoodie
and my Aliases hierarchy looks like this,
Aliases.pageSmartbearSwagShop.linkGoBearGetGoingHoodie
Use the WaitAliasChild method to delay the test execution until the object specified by its alias (linkGoBearGetGoingHoodie) appears in the system or until the specified time limit is reached
function main() { Aliases.pageSmartbearSwagShop.WaitAliasChild("linkGoBearGetGoingHoodie", 30000); }