Answer the question
In order to leave comments, you need to log in
How to extract a substring from a string inside which double and single quotes, Robot Framework?
Good afternoon.
There is a need to extract a substring, in autotests on the Robot Framework.
I get the string itself using the Get Element Attribute keyword.
The problem is that the result is a string:
"PrimeFaces.ab({s:"mForm:j_idt242",e:"click",p:"mForm:j_idt242"});;;window.open('https://auction-sandbox.openprocurement.org/tenders/fb5bc41429774f178605639783e62027','_blank')"
Answer the question
In order to leave comments, you need to log in
a = """
"PrimeFaces.ab({s:"mForm:j_idt242",e:"click",p:"mForm:j_idt242"});;;window.open('https://auction-sandbox.openprocurement.org/tenders/fb5bc41429774f178605639783e62027','_blank')"
"""
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question