Solved
Forum Discussion
IStaroverov
5 years agoSmartBear Alumni (Retired)
Hi
If I understood correctly, need to get "Loader 01" text from a long string and paste to the "FindChild" method
You can try this code:
...
Dim regEx, Matches, value
Set regEx = New RegExp
regEx.Pattern = "Loader \d\d"
Set Matches = regEx.Execute(Driver.Value(1))
if (Matches.Count <> 0) then value = Matches.Item(0).Value
Set Loading = Loading.FindChild("UITracingText", "*" + value + "*", ...)
...
Related Content
Recent Discussions
- 8 hours agoasantev2
- 18 hours agotorus
- 4 days agoSM1
- 4 days agocharifhamza