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
0 votes
1 answer

Automatically testing for typical edge cases?

I want to set up automated testing on my UI components. For anything that renders textual data (i.e. strings or numbers), I would like to automatically test for typical edge cases, such as: Very long ...
Peter's user avatar
  • 109
2 votes
3 answers

How to validate if .txt file format is correct as a part of File processing in Automation framework?

In my Selenium+Java automation framework, I need to open a .txt file or any other extension file and then see if the text is in a particular format. Now, I need to see if all lines are in this format ...
test0023's user avatar
3 votes
1 answer

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 ...
sathishS's user avatar
1 vote
2 answers

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 = ...
Ingridd Brito's user avatar
0 votes
1 answer

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\": ...
Trupti's user avatar
  • 1
-2 votes
1 answer

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) ...
Thabiso Ditabe's user avatar
-1 votes
1 answer

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]"))); ...
Yash Shrivastava's user avatar
-1 votes
1 answer

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 [=**abtc**& =**Products**& =**111**&...
lak's user avatar
  • 567