Questions tagged [string]

a string is traditionally a sequence of characters, either as a literal constant or as some kind of variable.

Filter by
Sorted by
Tagged with
3
votes
1answer
159 views

How to count max character text for JSON api test

I have a JSON free text field that allows maximum 1000 characters. I want to check whether user is able to send paragraphs, so when I parse the text to string using online tools some extra characters ...
1
vote
2answers
467 views

How to getText concatenating 2 strings in Protractor

I have 2 variables that get the texts: locationDisplayed and bindisplayed. I want the 3rd variable: expectedDescription concats the text of the first 2 vars. Here is the code: let locationDisplayed = ...
0
votes
1answer
2k views

Escape character issue in “run keyword if” in Robot Framework

This script is not working as the string contains single quotes (') and double quotes (") and comparing the string is not working in this case. ${Key1}= set variable It\'s in \"Detailing\": ...
-2
votes
1answer
1k views

How to convert a String to int on assert

Assert cannot be able to find value because it's expecting a String but an integer is present instead. How can I be able to convert this String to an integer. I tried using Integer.parseInt(number) ...
-1
votes
1answer
260 views

Error while parsing String value into Double [closed]

Thread.sleep(1000); WebElement NetReceivable=wait.until(ExpectedConditions.presenceOfElementLocated(By.xpath("html/body/form/table[2]/tbody/tr[2]/td/table[2]/tbody/tr/td/table/tbody/tr[19]/td[2]"))); ...
-1
votes
1answer
45 views

How to write Regex pattern to find a string between '=' and before '&' with after last '=' of URL [closed]

Regex pattern need to find below url values in bold color http://abc.com/XMLFeed?clientkey=abtc&type=Products&ProductID=111&location=145 [=**abtc**& =**Products**& =**111**&...