Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Case changes while reading values from inbuilt datatables
#1
Not Solved
Hi,
I am automating a .Net Application where i need to read values from datatables. Values in datatable is combination if capital and small letters.Example: "HP uft"
While reading through the script , values changes as "hp uft". this makes my script fail on validation.

plz help me if anyon aware of the issue

Thanks in advance.
Reply
#2
Not Solved
Use Lcase("Hp Uft") or use instr(0,string1,string2)<>0 can resolve....
Reply
#3
Not Solved
Thanks for ur reply ,
But y should i use "Lcase("Hp Uft")" when i want the string as it is in the data table cell?. Also this is not always and it is sporadic
Reply
#4
Not Solved
while getting the datatable value use Cstr() to convert that value to string.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Reading Global Sheet's DataTable Value Bhuvana 0 1,675 01-05-2020, 10:03 PM
Last Post: Bhuvana
  Select case is not being executed in a Function Anupama 1 1,646 05-25-2018, 11:15 AM
Last Post: Anupama
  Using Range in Select Case Statement Studymode 0 1,549 12-14-2017, 06:18 PM
Last Post: Studymode
  Using Select Case Statement Studymode 0 11,780 12-13-2017, 05:55 AM
Last Post: Studymode
  Reading Value from Java Table arjun.singh 8 24,520 10-11-2017, 02:51 PM
Last Post: sivaji

Forum Jump:


Users browsing this thread: 1 Guest(s)