cancel
Showing results for 
Search instead for 
Did you mean: 

String concatenation using Keyword testing method.

SOLVED
Highlighted
New Contributor

String concatenation using Keyword testing method.

I need to get a data from web application and concate the same data in between an existing string.

I am doing this only in keyword testing way.

Can somebody please suggest me some idea to do this.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Hero

Re: String concatenation using Keyword testing method.

In keyword testing you have an option for Code Snippet.  Choose that and then use aqString.Concat to put your strings together.  

 

https://support.smartbear.com/testcomplete/docs/reference/program-objects/aqstring/concat.html

View solution in original post

Tags (1)
3 REPLIES 3
Highlighted
Community Hero

Re: String concatenation using Keyword testing method.

In keyword testing you have an option for Code Snippet.  Choose that and then use aqString.Concat to put your strings together.  

 

https://support.smartbear.com/testcomplete/docs/reference/program-objects/aqstring/concat.html

View solution in original post

Tags (1)
Highlighted
Community Hero

Re: String concatenation using Keyword testing method.

To add to @Marsha_R , you can also, when using things like the Keys command if you're entering data, you can use a "Code expression" to concatenate the strings using the syntax of the code.  For example, if I have a variable "string1" and a variable "string2", I can concatentate in the Code Expression using

 

string1 + string2

Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
Highlighted
Community Manager

Re: String concatenation using Keyword testing method.

Great suggestions, thank you Community Heroes🙂

 

@Kshirod174 Did this solve your issue? Please mark the best reply as a Solution!


Sonya Mihaljova
Community and Education Specialist

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!

Challenge Status

How to execute remote test and obtain results via Test Runner REST API

Participate!

Comparing content of HTML table with Excel file data

Participate!

Compare HTML table with Excel file and correct data in the file

Participate!

Retrieve Data from a Web Page

Participate!
Top Kudoed Authors