This is a migrated thread and some comments may be shown as answers.

Incorrect TextContent after edit

5 Answers 64 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Davide
Top achievements
Rank 1
Davide asked on 02 Jul 2015, 05:15 PM

Hi all,

I have an issue with a TableCell value.
I edit an html table row via form, but when i check if it is edited it give me error.
Looking into the TableCell with the QuickWatch (I'm using VS plugin) i see that the TextContent has still the old value while only the InnerMarkup is correct.

I saw the different between InnerMarkup, InnerText and similar, here
The problem is that into the DOM Explorer i have <td>00000 edited</td>, and in an adiacent td of the same row, the TextContent is correct.

Can you help me?

 

Thanks for the support

Davide

5 Answers, 1 is accepted

Sort by
0
Davide
Top achievements
Rank 1
answered on 07 Jul 2015, 07:26 AM
Please anyone?
0
Ivaylo
Telerik team
answered on 07 Jul 2015, 11:52 AM
Hello,

This problem does not sound related to Test Studio.

Please elaborate.

Regards,
Ivaylo
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Davide
Top achievements
Rank 1
answered on 07 Jul 2015, 12:16 PM

Well... the problem exists

I can't read the context of a specified <td>, after editing, using InnerText but i can do it for others <td> of the same row that I edited in the same way

There should be a reason... the DOM shows the same structure for the 2 <td> element with raw text inside, the difference is that i can read one with TextContent and InnerText and the other (the problematic one) with InnerMarkup only...

0
Davide
Top achievements
Rank 1
answered on 08 Jul 2015, 03:40 PM

Solved the issue using table.Refresh();

I would add that, this time, I didn't like the answer that was given to me, without any attempt to support

 

Davide

0
Ivaylo
Telerik team
answered on 10 Jul 2015, 07:07 AM
Hello Davide,

Thanks for the clarification and I am glad you were able to fix the problem experienced.

Regards,
Ivaylo
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Davide
Top achievements
Rank 1
Answers by
Davide
Top achievements
Rank 1
Ivaylo
Telerik team
Share this question
or