Contributions
Capturing dinamic values
Hello!! I have this web object: Aliases.browser.pageSearchresultsEs.FindElement("//h1[contains(text(), 'Málaga: 413 alojamientos encontrados')]").ContentText Every time I run the test case the web object changes .(ex: now is Aliases.browser.pageSearchresultsEs.FindElement("//h1[contains(text(), 'Málaga: 413 alojamientosencontrados')]").ContentText but next time could beAliases.browser.pageSearchresultsEs.FindElement("//h1[contains(text(), 'Málaga: 410 alojamientos encontrados')]").ContentText Is there a way to capture the number dinamically? I need to show the result so I'm using this: BuiltIn.ShowMessage(Aliases.browser.pageSearchresultsEs.FindElement("//h1[contains(text(), 'Málaga: 413 alojamientos encontrados')]").ContentText)374Views0likes1CommentComparing 2 numbers contained in different web objects
Hello!! I'm struggling trying to compare 2 numbers , each of them contained in different web objects: first web object second web object I want to check if the first number (1270) is greather than the second one (514),after applying filters. How can I do that by keyword test and also with scripting test? For example if I use the property contentText to compare this 2 objects, TestComplete take the whole "Madrid: 514 encontrados" and I only want to compare the numbers inside the text (1270 v/s 514) See pictures attached to get context, object spy, and Name MappingSolved1.6KViews0likes2Comments