Forum Discussion

sirtoxy's avatar
sirtoxy
New Contributor
15 years ago

Multiple projects Xpath

Is it possible to access Request/Response fields via different Projects using Xpath?
I have the following situation:
Workspace
-project1
-TestSuite1
- Testcase1
-testStep1
-teststep2
-project2
-TestSuite2
- Testcase2
-testStep2

I need to access request properties of project1->...testsStep1 from project2..->teststep2
For example:
In project2 ->..->testep2
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:a="">
<soapenv:Header/>
<soapenv:Body>
<a:request>
<a:id>1</a:id>
</a:request>
</soapenv:Body>
</soapenv:Envelope

Where <a:id>1</a:id> - value from project1->..->testep1
The XPATH expression doesn't work
${project1#TestSuite1#Testcase1#testStep1#Request//a:id}
No RepliesBe the first to reply