Verifying Image in Tree Node
Posted: Sun Dec 09, 2012 12:19 pm
Hi,
I have a scenario where I need to verify an image before a tree node.
Here is the scenario..
There is a Tree object which several Tree Nodes and each & every node is having an image before it & all the tree nose are having the same image as shown below.
----Parent Node
---- i1 Child Node1
---- i1 Child Node2
---- i1 Child Node3
|
|
|
|
---- i1 Child Node n
So here I need to verify an image before Child Node2.I am trying to do this but the problem is before every TreeItem same image is present.So even the Child node doesn't contain the particular Image and other tree nodes containing the image the result will pass.
So pls provide me the code to verify this scenario.
Thanks,
Rakesh
I have a scenario where I need to verify an image before a tree node.
Here is the scenario..
There is a Tree object which several Tree Nodes and each & every node is having an image before it & all the tree nose are having the same image as shown below.
----Parent Node
---- i1 Child Node1
---- i1 Child Node2
---- i1 Child Node3
|
|
|
|
---- i1 Child Node n
So here I need to verify an image before Child Node2.I am trying to do this but the problem is before every TreeItem same image is present.So even the Child node doesn't contain the particular Image and other tree nodes containing the image the result will pass.
So pls provide me the code to verify this scenario.
Thanks,
Rakesh