Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Parametrize and Concatenate Strings
#1
Not Solved
Can you please help for the below scenario

I i have a webedit with HTML id as "FDOEEFPDBOMAACHH\.BasicData\.EANCategory"

the first part that is "FDOEEFPDBOMAACHH" is constant
the second part is "BasicDataView" is task
In that tab the third part "EANCategory" is there

I am maintaining one excel like below
Sno Task Tab Field
1 Basic data UOM/EAN EAN Category
1 Basic data UOM/EAN EAN Category

the script should take the task then field name and add in the runtime while running the code.

Like xxxxx.Webedit(htmlid:="FDOEEFPDBOMAACHH.\"take task fromexcel\. "take field from excel"")
Reply
#2
Not Solved
You would need to pick the values from a data source (say datatable) , use concatenation operator to concatenate the complete string.

Are you facing some issue in the code? Write it down here and we will have a look.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Smile How to join sub strings in UFT without using join built-in function? chetna 1 1,999 07-05-2018, 05:39 PM
Last Post: Ankur
  VB script Coding with strings. Tejas Tikhe 4 3,639 09-11-2012, 11:37 PM
Last Post: DevilkID

Forum Jump:


Users browsing this thread: 1 Guest(s)