Forum Discussion
shane_manjunath
Occasional Contributor
Thanks shankar and any idea how to check if attribute value is NULL or NOT?
var period = Aliases.browser.FindChild("Name", 'Panel("tabPeriod")', 99);
var period_name = period.getElementsByClassName("dxtc-link");
period_name.Item(k).textContent
textContent is the attribute here
shankar_r
8 years agoCommunity Hero
Hi,
It's pretty simple,
function test() { var period = Aliases.browser.FindChild("Name", 'Panel("tabPeriod")', 99); var period_name = period.getElementsByClassName("dxtc-link"); do { //blah blah}while( period_name.Item(k) != null) if(period_name.Item(k).textContent != null) { Log.Message("It is not null") } else { Log.Error('It is null") } }
Related Content
- 10 months agoIrinaManea
- 8 years agoYarnos
- 3 years agoLRuoc
- 5 years agoDKumar04
Recent Discussions
- 2 hours agoashly